aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/term.c b/src/term.c
index d881dee39fe..8a16ce4e33f 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4163,7 +4163,15 @@ use the Bourne shell command 'TERM=...; export TERM' (C-shell:\n\
4163 tty->TS_enter_alt_charset_mode = tgetstr ("as", address); 4163 tty->TS_enter_alt_charset_mode = tgetstr ("as", address);
4164 tty->TS_exit_alt_charset_mode = tgetstr ("ae", address); 4164 tty->TS_exit_alt_charset_mode = tgetstr ("ae", address);
4165 tty->TS_exit_attribute_mode = tgetstr ("me", address); 4165 tty->TS_exit_attribute_mode = tgetstr ("me", address);
4166#ifdef TERMINFO
4167 tty->TS_enter_strike_through_mode = tigetstr ("smxx", address);
4168 if (tty->TS_enter_strike_through_mode == (char *) (intptr_t) -1)
4169 tty->TS_enter_strike_through_mode = NULL;
4170#else
4171 /* FIXME: Is calling tgetstr here for non-terminfo case correct,
4172 even though "smxx" is more than 2 characters? */
4166 tty->TS_enter_strike_through_mode = tgetstr ("smxx", address); 4173 tty->TS_enter_strike_through_mode = tgetstr ("smxx", address);
4174#endif
4167 4175
4168 MultiUp (tty) = tgetstr ("UP", address); 4176 MultiUp (tty) = tgetstr ("UP", address);
4169 MultiDown (tty) = tgetstr ("DO", address); 4177 MultiDown (tty) = tgetstr ("DO", address);