diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-09-22 19:11:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-09-22 19:11:52 +0000 |
commit | 0a9005678da04b1e7783d26b02041e3973f26127 (patch) | |
tree | dcb7f2345c36a9f2b898838b0419772a873689ed | |
parent | 96dd3e8eb9bbe5393050acfd4ac7759ae27d00c8 (diff) | |
download | rtmux-0a9005678da04b1e7783d26b02041e3973f26127.tar.gz rtmux-0a9005678da04b1e7783d26b02041e3973f26127.tar.bz2 rtmux-0a9005678da04b1e7783d26b02041e3973f26127.zip |
Be more careful about what flags are cleared when opening the terminal,
otherwise the opened/started flags are cleared and the terminal never released.
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ tty_open(struct tty *tty, const char *overrides, char **cause) tty->in = buffer_create(BUFSIZ); tty->out = buffer_create(BUFSIZ); - tty->flags &= TTY_UTF8; + tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_ESCAPE); tty_start_tty(tty); |