summaryrefslogtreecommitdiff
path: root/src/fe-text/term-curses.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@0x90.dk>2014-07-07 22:16:23 +0200
committerAlexander Færøy <ahf@0x90.dk>2014-07-07 22:16:23 +0200
commit09a1801186bdc682f8d0e7ad8c049e7f93172665 (patch)
treefa522c7fa78723c5ac703bafafc17f34314f1404 /src/fe-text/term-curses.c
parent5e8947a8b0943ae569876af105c4702ab2d95742 (diff)
parent225d149968f72137d19002344d414637774f4377 (diff)
downloadirssi-09a1801186bdc682f8d0e7ad8c049e7f93172665.zip
Merge pull request #58 from ailin-nemui/italics
Implement italics support for Irssi
Diffstat (limited to 'src/fe-text/term-curses.c')
-rw-r--r--src/fe-text/term-curses.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-text/term-curses.c b/src/fe-text/term-curses.c
index fd24bbe3..752edd7f 100644
--- a/src/fe-text/term-curses.c
+++ b/src/fe-text/term-curses.c
@@ -298,6 +298,9 @@ static int get_attr(int color)
if (color & ATTR_UNDERLINE) attr |= A_UNDERLINE;
if (color & ATTR_REVERSE) attr |= A_REVERSE;
+#ifdef A_ITALIC
+ if (color & ATTR_ITALIC) attr |= A_ITALIC;
+#endif
return attr;
}