Feature #1033


STFL: Ensure text contrast

Added by Ondrej Hošek 3352 days ago. Updated 3351 days ago.

Status:Closed Start:03/14/2015
Priority:Normal Due date:
Assigned to:avatarOndrej Hošek % Done:


Category:Frontend STFL
Target version:-

Votes: 0


Extend the STFL frontend code to ensure text contrast depending on the terminal's background color.

smuxicontrast.png (10.6 KB) Ondrej Hošek, 03/14/2015 07:54 PM

Associated revisions

Revision 662e3aa1aca8da6d7a5afae85395fa8594b9fb7b
Added by Ondrej Hošek 3352 days ago

Frontend-STFL: Ensure text color contrast (closes #1033).

Make the terminal background color configurable as
STFL/Interface/TerminalBackgroundColor and use GetBestTextColor to ensure
sufficient contrast.


Updated by Mirco Bauer 3352 days ago


Can you provide a screenshot? I am not sure where the issue becomes visible. I guess it is 256 colors (xterm) with nick colors.

Updated by Ondrej Hošek 3352 days ago


Worse yet; it's the "tiny palette" (16 colors?) xterm with nick colors. I've attached a screenshot.

Updated by Ondrej Hošek 3351 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF