projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08626a3
)
gui: Only check STDIN for readability if curses is active.
author
Andre
<maan@p133.(none)>
Thu, 23 Mar 2006 13:57:52 +0000
(14:57 +0100)
committer
Andre
<maan@p133.(none)>
Thu, 23 Mar 2006 13:57:52 +0000
(14:57 +0100)
gui.c
patch
|
blob
|
history
diff --git
a/gui.c
b/gui.c
index 9b1c739f2110d6e05c0d27e0a832472d72b5b149..fff5741dca26c6a472cd67b2fdd7d638131fe3b6 100644
(file)
--- a/
gui.c
+++ b/
gui.c
@@
-895,7
+895,8
@@
repeat:
FD_SET(command_pipe, &rfds);
max_fileno = MAX(max_fileno, command_pipe);
}
- FD_SET(STDIN_FILENO, &rfds);
+ if (curses_active)
+ FD_SET(STDIN_FILENO, &rfds);
ret = select(max_fileno + 1, &rfds, NULL, NULL, &tv);
// PARA_DEBUG_LOG("select returned %d\n", ret);