mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
add italics support; don't use standout for reverse
This commit is contained in:
parent
fc00b9e6f0
commit
0e294d5c2e
12 changed files with 98 additions and 20 deletions
|
|
@ -186,6 +186,7 @@ static void get_colors(int flags, int *fg, int *bg, int *attr)
|
|||
*attr |= (*bg << BG_SHIFT);
|
||||
|
||||
if (flags & GUI_PRINT_FLAG_REVERSE) *attr |= ATTR_REVERSE;
|
||||
if (flags & GUI_PRINT_FLAG_ITALIC) *attr |= ATTR_ITALIC;
|
||||
if (flags & GUI_PRINT_FLAG_BOLD) *attr |= ATTR_BOLD;
|
||||
if (flags & GUI_PRINT_FLAG_UNDERLINE) *attr |= ATTR_UNDERLINE;
|
||||
if (flags & GUI_PRINT_FLAG_BLINK) *attr |= ATTR_BLINK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue