From 0a9005678da04b1e7783d26b02041e3973f26127 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 22 Sep 2009 19:11:52 +0000 Subject: [PATCH] Be more careful about what flags are cleared when opening the terminal, otherwise the opened/started flags are cleared and the terminal never released. --- tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tty.c b/tty.c index 3d2d17d3..b0810219 100644 --- a/tty.c +++ b/tty.c @@ -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);