summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-05-03 22:57:32 +0200
committerBram Moolenaar <Bram@vim.org>2020-05-03 22:57:32 +0200
commit80a8d3889bf1341c47f1c88c59825f183b2b4753 (patch)
tree09cf69c6e3dc3f8513badc8ec99dd593ceb7842d /src/getchar.c
parent2fd4cd755c3e87e733b7363ac13e5c0fe0297a80 (diff)
patch 8.2.0694: Haiku: channel and terminal do not workv8.2.0694
Problem: Haiku: channel and terminal do not work. Solution: Close files when the job has finished. (Ozaki Kiichi, closes #6039)
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 9d8c0d4bff..8b417ecd19 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2147,7 +2147,7 @@ parse_queued_messages(void)
for (i = 0; i < MAX_REPEAT_PARSE; ++i)
{
// For Win32 mch_breakcheck() does not check for input, do it here.
-# if defined(MSWIN) && defined(FEAT_JOB_CHANNEL)
+# if (defined(MSWIN) || defined(__HAIKU__)) && defined(FEAT_JOB_CHANNEL)
channel_handle_events(FALSE);
# endif