aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-04-09 07:48:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-04-09 07:48:58 +0000
commit75f218dc73a19ac6de9d2270aab43f83c5bb8816 (patch)
treec42e66152d915a0c8be7722fad21d2064835986a /tty-term.c
parent1d00f88757b623977eb82c85b823dc4ca0cc4d62 (diff)
downloadrtmux-75f218dc73a19ac6de9d2270aab43f83c5bb8816.tar.gz
rtmux-75f218dc73a19ac6de9d2270aab43f83c5bb8816.tar.bz2
rtmux-75f218dc73a19ac6de9d2270aab43f83c5bb8816.zip
If the terminal supports sitm for italics, use it instead of standout
(smso). From Tiago Resende.
Diffstat (limited to 'tty-term.c')
-rw-r--r--tty-term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tty-term.c b/tty-term.c
index 81ddb3c9..56aa34b7 100644
--- a/tty-term.c
+++ b/tty-term.c
@@ -1,4 +1,4 @@
-/* $Id: tty-term.c,v 1.46 2011-02-15 15:12:28 tcunha Exp $ */
+/* $Id: tty-term.c,v 1.47 2011-04-09 07:48:58 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -181,6 +181,7 @@ const struct tty_term_code_entry tty_term_codes[NTTYCODE] = {
{ TTYC_SMKX, TTYCODE_STRING, "smkx" },
{ TTYC_SMSO, TTYCODE_STRING, "smso" },
{ TTYC_SMUL, TTYCODE_STRING, "smul" },
+ { TTYC_SITM, TTYCODE_STRING, "sitm" },
{ TTYC_VPA, TTYCODE_STRING, "vpa" },
{ TTYC_XENL, TTYCODE_FLAG, "xenl" },
};