summaryrefslogtreecommitdiffstats
path: root/client/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.c')
-rw-r--r--client/client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/client.c b/client/client.c
index 905526a..ce9bdb6 100644
--- a/client/client.c
+++ b/client/client.c
@@ -201,8 +201,9 @@ input_init(void)
rl_add_defun("bird-help", input_help, '?');
rl_callback_handler_install("bird> ", got_line);
input_initialized = 1;
- if (fcntl(0, F_SETFL, O_NONBLOCK) < 0)
- die("fcntl: %m");
+// readline library does strange things when stdin is nonblocking.
+// if (fcntl(0, F_SETFL, O_NONBLOCK) < 0)
+// die("fcntl: %m");
}
static void