mirror of
https://github.com/tmux/tmux.git
synced 2024-11-04 18:08:48 +00:00
Be more careful about what flags are cleared when opening the terminal,
otherwise the opened/started flags are cleared and the terminal never released.
This commit is contained in:
parent
96dd3e8eb9
commit
0a9005678d
2
tty.c
2
tty.c
@ -93,7 +93,7 @@ tty_open(struct tty *tty, const char *overrides, char **cause)
|
|||||||
tty->in = buffer_create(BUFSIZ);
|
tty->in = buffer_create(BUFSIZ);
|
||||||
tty->out = buffer_create(BUFSIZ);
|
tty->out = buffer_create(BUFSIZ);
|
||||||
|
|
||||||
tty->flags &= TTY_UTF8;
|
tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_ESCAPE);
|
||||||
|
|
||||||
tty_start_tty(tty);
|
tty_start_tty(tty);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user