From 93ee3d524bee74c438fe446d5e09a6940a1bf76c Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 9 Apr 2011 07:48:08 +0000 Subject: If the terminal supports sitm for italics, use it instead of standout (smso). From Tiago Resende. --- usr.bin/tmux/tmux.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.bin/tmux/tmux.h') diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 5f0f6f02bed..daa5dab9bc2 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.279 2011/04/06 21:51:31 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.280 2011/04/09 07:48:08 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -323,6 +323,7 @@ enum tty_code_code { TTYC_SMKX, /* keypad_xmit, ks */ TTYC_SMSO, /* enter_standout_mode, so */ TTYC_SMUL, /* enter_underline_mode, us */ + TTYC_SITM, /* enter_italics_mode, it */ TTYC_VPA, /* row_address, cv */ TTYC_XENL, /* eat_newline_glitch, xn */ }; -- cgit v1.2.3-59-g8ed1b