Mercurial > vim
comparison src/getchar.c @ 20277:8a694c9447d7 v8.2.0694
patch 8.2.0694: Haiku: channel and terminal do not work
Commit: https://github.com/vim/vim/commit/80a8d3889bf1341c47f1c88c59825f183b2b4753
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 3 22:57:32 2020 +0200
patch 8.2.0694: Haiku: channel and terminal do not work
Problem: Haiku: channel and terminal do not work.
Solution: Close files when the job has finished. (Ozaki Kiichi,
closes #6039)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 May 2020 23:00:04 +0200 |
parents | 918245588b50 |
children | a5a24d688e11 |
comparison
equal
deleted
inserted
replaced
20276:36edcb98d341 | 20277:8a694c9447d7 |
---|---|
2145 | 2145 |
2146 // Loop when a job ended, but don't keep looping forever. | 2146 // Loop when a job ended, but don't keep looping forever. |
2147 for (i = 0; i < MAX_REPEAT_PARSE; ++i) | 2147 for (i = 0; i < MAX_REPEAT_PARSE; ++i) |
2148 { | 2148 { |
2149 // For Win32 mch_breakcheck() does not check for input, do it here. | 2149 // For Win32 mch_breakcheck() does not check for input, do it here. |
2150 # if defined(MSWIN) && defined(FEAT_JOB_CHANNEL) | 2150 # if (defined(MSWIN) || defined(__HAIKU__)) && defined(FEAT_JOB_CHANNEL) |
2151 channel_handle_events(FALSE); | 2151 channel_handle_events(FALSE); |
2152 # endif | 2152 # endif |
2153 | 2153 |
2154 # ifdef FEAT_NETBEANS_INTG | 2154 # ifdef FEAT_NETBEANS_INTG |
2155 // Process the queued netbeans messages. | 2155 // Process the queued netbeans messages. |