aboutsummaryrefslogtreecommitdiff
path: root/tty-keys.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-keys.c')
-rw-r--r--tty-keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty-keys.c b/tty-keys.c
index f30775fb..a456f563 100644
--- a/tty-keys.c
+++ b/tty-keys.c
@@ -364,7 +364,7 @@ tty_keys_next(struct tty *tty)
/* If a normal key, return it. */
if (*buf != '\033') {
- key = *buf;
+ key = (u_char) *buf;
evbuffer_drain(tty->event->input, 1);
/*