Feature #1033

avatar

STFL: Ensure text contrast

Added by Ondrej Hošek 3496 days ago. Updated 3495 days ago.

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

100%

Category:Frontend STFL
Target version:-
Complexity:

Votes: 0

Description

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 3495 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.

History

Updated by Mirco Bauer 3496 days ago

avatar

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 3495 days ago

avatar

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

Updated by Ondrej Hošek 3495 days ago

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

Also available in: Atom PDF