mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Reset bracket paste mode on detach.
This commit is contained in:
parent
f1e68bfdd2
commit
90bf7026f6
1 changed files with 2 additions and 0 deletions
2
tty.c
2
tty.c
|
|
@ -281,6 +281,8 @@ tty_stop_tty(struct tty *tty)
|
|||
else
|
||||
tty_raw(tty, tty_term_string1(tty->term, TTYC_SS, 0));
|
||||
}
|
||||
if (tty->mode & MODE_BRACKETPASTE)
|
||||
tty_raw(tty, "\033[?2004l");
|
||||
tty_raw(tty, tty_term_string(tty->term, TTYC_CR));
|
||||
|
||||
tty_raw(tty, tty_term_string(tty->term, TTYC_CNORM));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue