mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
When /SET colors is OFF, irssi displays all non-default background colors as reversed.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2164 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
266193aa7e
commit
b40901efba
@ -263,6 +263,9 @@ void term_set_color(TERM_WINDOW *window, int col)
|
||||
terminfo_set_normal();
|
||||
}
|
||||
|
||||
if (!term_use_colors && (col & 0xf0) != 0)
|
||||
col |= ATTR_REVERSE;
|
||||
|
||||
/* reversed text (use standout) */
|
||||
if (col & ATTR_REVERSE) {
|
||||
if ((last_attrs & ATTR_REVERSE) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user