From fa9e318e1e27d44a9522ad5d53dfe24392b7e7ba Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Fri, 13 Mar 2009 17:19:29 +0100 Subject: [PATCH] *** empty log message *** --- selector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selector.cc b/selector.cc index ae945fd..2418ae9 100644 --- a/selector.cc +++ b/selector.cc @@ -60,7 +60,7 @@ int inverse_order = 0; void inject_into_tty_buffer(char *line) { char *tty = ttyname(STDIN_FILENO); - int fd = open(tty, O_WRONLY); + int fd = open(tty, O_RDWR); struct termios oldtio, newtio; -- 2.39.5