projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9de58bd
)
*** empty log message ***
author
Francois Fleuret
<francois@fleuret.org>
Fri, 13 Mar 2009 16:19:29 +0000
(17:19 +0100)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 13 Mar 2009 16:19:29 +0000
(17:19 +0100)
selector.cc
patch
|
blob
|
history
diff --git
a/selector.cc
b/selector.cc
index
ae945fd
..
2418ae9
100644
(file)
--- 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;