mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02: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
1 changed files with 3 additions and 0 deletions
|
|
@ -263,6 +263,9 @@ void term_set_color(TERM_WINDOW *window, int col)
|
||||||
terminfo_set_normal();
|
terminfo_set_normal();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!term_use_colors && (col & 0xf0) != 0)
|
||||||
|
col |= ATTR_REVERSE;
|
||||||
|
|
||||||
/* reversed text (use standout) */
|
/* reversed text (use standout) */
|
||||||
if (col & ATTR_REVERSE) {
|
if (col & ATTR_REVERSE) {
|
||||||
if ((last_attrs & ATTR_REVERSE) == 0)
|
if ((last_attrs & ATTR_REVERSE) == 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue