summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-05-08 19:53:06 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-05-08 19:53:06 +0000
commit295ace682020769be8a6a6a02835099d93c392ef (patch)
treed55f3d1563aa55d9a5d9aa95eb4bdc29fed2afee /tmux.h
parentb0a88ebeadd56ebcb0cdbe9967a869d361b96c6f (diff)
Use the tsl and fsl terminfo(5) capabilities to update terminal title
and automatically fill them in on terminals with the XT capability (which means their title setting is xterm-compatible). From hsim at gmx.li.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index def69db5..42460640 100644
--- a/tmux.h
+++ b/tmux.h
@@ -205,6 +205,7 @@ enum tty_code_code {
TTYC_EL, /* clr_eol, ce */
TTYC_EL1, /* clr_bol, cb */
TTYC_ENACS, /* ena_acs, eA */
+ TTYC_FSL, /* from_status_line, fsl */
TTYC_HOME, /* cursor_home, ho */
TTYC_HPA, /* column_address, ch */
TTYC_ICH, /* parm_ich, IC */
@@ -317,17 +318,19 @@ enum tty_code_code {
TTYC_SETAB, /* set_a_background, AB */
TTYC_SETAF, /* set_a_foreground, AF */
TTYC_SGR0, /* exit_attribute_mode, me */
+ TTYC_SITM, /* enter_italics_mode, it */
TTYC_SMACS, /* enter_alt_charset_mode, as */
TTYC_SMCUP, /* enter_ca_mode, ti */
TTYC_SMIR, /* enter_insert_mode, im */
TTYC_SMKX, /* keypad_xmit, ks */
TTYC_SMSO, /* enter_standout_mode, so */
TTYC_SMUL, /* enter_underline_mode, us */
- TTYC_SITM, /* enter_italics_mode, it */
+ TTYC_TSL, /* to_status_line, tsl */
TTYC_VPA, /* row_address, cv */
TTYC_XENL, /* eat_newline_glitch, xn */
+ TTYC_XT, /* xterm(1)-compatible title, XT */
};
-#define NTTYCODE (TTYC_XENL + 1)
+#define NTTYCODE (TTYC_XT + 1)
/* Termcap types. */
enum tty_code_type {