diff options
author | nicm <nicm> | 2020-04-17 09:06:10 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-04-17 09:06:10 +0000 |
commit | 7f2925a01de5da0416dd2589ee080f61650f2da9 (patch) | |
tree | 6350a739cc822519e35485d641667d319726a259 /tty.c | |
parent | 5aba26f2cb7aa9609a3c3d2bd38a3942b6a378b8 (diff) | |
download | rtmux-7f2925a01de5da0416dd2589ee080f61650f2da9.tar.gz rtmux-7f2925a01de5da0416dd2589ee080f61650f2da9.tar.bz2 rtmux-7f2925a01de5da0416dd2589ee080f61650f2da9.zip |
Support the application escape sequence mintty (means tmux doesn't have
to delay to wait for Escape).
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -340,6 +340,7 @@ tty_start_tty(struct tty *tty) tty->flags |= TTY_FOCUS; tty_puts(tty, "\033[?1004h"); } + tty_puts(tty, "\033[?7727h"); } evtimer_set(&tty->start_timer, tty_start_timer_callback, tty); @@ -426,6 +427,7 @@ tty_stop_tty(struct tty *tty) tty->flags &= ~TTY_FOCUS; tty_raw(tty, "\033[?1004l"); } + tty_raw(tty, "\033[?7727l"); } if (tty_use_margin(tty)) |