Include the \033 in the key tree and adjust key matching for this change.

This commit is contained in:
Nicholas Marriott
2013-02-16 13:21:14 +00:00
parent 4f01bfc4bc
commit 10db7ec51b
3 changed files with 67 additions and 86 deletions

2
tty.c
View File

@@ -149,7 +149,7 @@ tty_open(struct tty *tty, const char *overrides, char **cause)
}
tty->flags |= TTY_OPENED;
tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_ESCAPE);
tty->flags &= ~(TTY_NOCURSOR|TTY_FREEZE|TTY_TIMER);
tty->event = bufferevent_new(
tty->fd, tty_read_callback, NULL, tty_error_callback, tty);