aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-12 02:55:03 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-12 02:55:03 +0200
commit2ac685f2a63dfbcee413848f156039bc573c72e3 (patch)
tree678c169c08742f0b6f053db83815bda70e17d8d9
parent24159e021406a24a13563e4d80aadb55c0fc62ab (diff)
downloadxK-2ac685f2a63dfbcee413848f156039bc573c72e3.tar.gz
xK-2ac685f2a63dfbcee413848f156039bc573c72e3.tar.xz
xK-2ac685f2a63dfbcee413848f156039bc573c72e3.zip
degesch: actually support mIRC italics
-rw-r--r--degesch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index d1f6bca..424fe1d 100644
--- a/degesch.c
+++ b/degesch.c
@@ -1834,6 +1834,8 @@ attribute_printer_update (struct attribute_printer *self)
0, // protect
0) // acs
, 1, self->printer);
+ if (enter_italics_mode && (attributes & ATTRIBUTE_ITALIC))
+ tputs (enter_italics_mode, 1, self->printer);
if (fg >= 0)
tputs (g_terminal.color_set_fg[fg], 1, self->printer);