aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2015-05-27 09:34:40 -0400
committerJustin M. Keyes <justinkz@gmail.com>2015-05-27 09:34:40 -0400
commit3dd166b20387607d73fee01507e7c9ddcfa9bcd4 (patch)
tree5647ea22f1e7fd35b56df9893ebfd5717481d857 /src/nvim/os_unix.c
parent5a9ad68b258f33ebd7fa0a5da47b308f50f1e5e7 (diff)
parentb2c400b3f2354b2765e1d6f3b5ce4b11f2ab75a3 (diff)
downloadrneovim-3dd166b20387607d73fee01507e7c9ddcfa9bcd4.tar.gz
rneovim-3dd166b20387607d73fee01507e7c9ddcfa9bcd4.tar.bz2
rneovim-3dd166b20387607d73fee01507e7c9ddcfa9bcd4.zip
Merge #2598 'set stdin as "blocking" on exit'
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r--src/nvim/os_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index b2d5bae477..ccd0073db1 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -181,6 +181,7 @@ void mch_exit(int r)
ml_close_all(TRUE); /* remove all memfiles */
event_teardown();
+ stream_set_blocking(input_global_fd(), true); // normalize stream (#2598)
#ifdef EXITFREE
free_all_mem();