aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-04-25 20:45:02 +0000
committerThomas Adam <thomas@xteddy.org>2015-04-25 20:45:02 +0000
commit72e9ebf2ece28c986050162bf4f401a6a7679f53 (patch)
treec31a424328859542a7a1248a9e411aac8fc5b3e9 /tty.c
parent56e1132db485aeb0730ce7782533ca441e63afef (diff)
parenta568b9cadce002f6f7e8ee914c995242bd70cce5 (diff)
downloadrtmux-72e9ebf2ece28c986050162bf4f401a6a7679f53.tar.gz
rtmux-72e9ebf2ece28c986050162bf4f401a6a7679f53.tar.bz2
rtmux-72e9ebf2ece28c986050162bf4f401a6a7679f53.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tty.c b/tty.c
index aae7b893..ee52d038 100644
--- a/tty.c
+++ b/tty.c
@@ -220,7 +220,7 @@ tty_start_tty(struct tty *tty)
tty_putcode(tty, TTYC_CNORM);
if (tty_term_has(tty->term, TTYC_KMOUS))
- tty_puts(tty, "\033[?1000l\033[?1006l\033[?1005l");
+ tty_puts(tty, "\033[?1000l\033[?1002l\033[?1006l\033[?1005l");
if (tty_term_has(tty->term, TTYC_XT)) {
if (options_get_number(&global_options, "focus-events")) {
@@ -294,7 +294,7 @@ tty_stop_tty(struct tty *tty)
tty_raw(tty, tty_term_string(tty->term, TTYC_CNORM));
if (tty_term_has(tty->term, TTYC_KMOUS))
- tty_raw(tty, "\033[?1000l\033[?1006l\033[?1005l");
+ tty_raw(tty, "\033[?1000l\033[?1002l\033[?1006l\033[?1005l");
if (tty_term_has(tty->term, TTYC_XT)) {
if (tty->flags & TTY_FOCUS) {