aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-03-09 15:39:36 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-03-09 15:39:36 +0000
commit180ebf02081087eec625a25c785985f5d6b5eff4 (patch)
tree7d995692ed6007c747da0caa2b189aadfac91917 /tty.c
parent514a723f7489123371bded176355ead48f338ae0 (diff)
parent92434b0afdf9cf04f1067c4e782b3132002b267a (diff)
downloadrtmux-180ebf02081087eec625a25c785985f5d6b5eff4.tar.gz
rtmux-180ebf02081087eec625a25c785985f5d6b5eff4.tar.bz2
rtmux-180ebf02081087eec625a25c785985f5d6b5eff4.zip
Merge branch 'master' of github.com:tmux/tmux
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tty.c b/tty.c
index acc7ab54..0ed6125e 100644
--- a/tty.c
+++ b/tty.c
@@ -235,7 +235,7 @@ tty_start_tty(struct tty *tty)
tty_putcode(tty, TTYC_SMCUP);
- tty_putcode(tty, TTYC_RMKX);
+ tty_putcode(tty, TTYC_SMKX);
if (tty_use_acs(tty))
tty_putcode(tty, TTYC_ENACS);
tty_putcode(tty, TTYC_CLEAR);
@@ -573,12 +573,6 @@ tty_update_mode(struct tty *tty, int mode, struct screen *s)
tty_puts(tty, "\033[?1006l");
}
}
- if (changed & MODE_KKEYPAD) {
- if (mode & MODE_KKEYPAD)
- tty_putcode(tty, TTYC_SMKX);
- else
- tty_putcode(tty, TTYC_RMKX);
- }
if (changed & MODE_BRACKETPASTE) {
if (mode & MODE_BRACKETPASTE)
tty_puts(tty, "\033[?2004h");