mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix %k and %K mappings.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4355 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e3cf9a4be5
commit
41d619cb82
@ -270,8 +270,8 @@ static int get_attr(int color)
|
||||
|
||||
if (!term_use_colors)
|
||||
attr = (color & 0x70) ? A_REVERSE : 0;
|
||||
else if (((color & 0x0f) == 8) && (color & ATTR_BOLD) == 0)
|
||||
attr = (A_DIM | COLOR_PAIR(63));
|
||||
else if ((color & 0xff) == 8 || (color & (0xff | ATTR_RESETFG)) == 0)
|
||||
attr = COLOR_PAIR(63);
|
||||
else if ((color & 0x77) == 0)
|
||||
attr = A_NORMAL;
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user