summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tty-term.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2011-04-09 07:48:08 +0000
committernicm <nicm@openbsd.org>2011-04-09 07:48:08 +0000
commit93ee3d524bee74c438fe446d5e09a6940a1bf76c (patch)
tree3539d5244a583abeeff1465c9d967a43b98fd119 /usr.bin/tmux/tty-term.c
parentuse unique wait channels (diff)
downloadwireguard-openbsd-93ee3d524bee74c438fe446d5e09a6940a1bf76c.tar.xz
wireguard-openbsd-93ee3d524bee74c438fe446d5e09a6940a1bf76c.zip
If the terminal supports sitm for italics, use it instead of standout
(smso). From Tiago Resende.
Diffstat (limited to 'usr.bin/tmux/tty-term.c')
-rw-r--r--usr.bin/tmux/tty-term.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tty-term.c b/usr.bin/tmux/tty-term.c
index 44da095c264..2073d2e4f09 100644
--- a/usr.bin/tmux/tty-term.c
+++ b/usr.bin/tmux/tty-term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty-term.c,v 1.20 2011/01/26 00:11:47 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.21 2011/04/09 07:48:08 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -178,6 +178,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" },
};