diff options
author | Lukas Mai <l.mai@web.de> | 2011-11-06 20:40:25 +0100 |
---|---|---|
committer | Ailin Nemui <ailin@esf51.localdomain> | 2014-07-07 00:32:07 +0200 |
commit | 0e294d5c2e4d4dd686378f2050abc9a9f2fae199 (patch) | |
tree | 5c39edb7d60860ec430953553c277da83d666373 /src/fe-text/gui-printtext.c | |
parent | fc00b9e6f07379f09ea13fa42d9feed377d2d762 (diff) | |
download | irssi-0e294d5c2e4d4dd686378f2050abc9a9f2fae199.zip |
add italics support; don't use standout for reverse
Diffstat (limited to 'src/fe-text/gui-printtext.c')
-rw-r--r-- | src/fe-text/gui-printtext.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 380ca114..cf6028b5 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -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; |