diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-09-29 15:18:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-09-29 15:18:57 +0200 |
commit | b9c31e71f5a4653a27e81c21226039bfa35b9131 (patch) | |
tree | 13ab81b2945c99ef6b8f256dac36c0ea4427e394 /src/proto | |
parent | 177778575148e265c0e32ec2abf2d2c615f5ead5 (diff) |
patch 8.0.0018v8.0.0018
Problem: When using ":sleep" channel input is not handled.
Solution: When there is a channel check for input also when not in raw mode.
Check every 100 msec.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/channel.pro | 1 | ||||
-rw-r--r-- | src/proto/os_amiga.pro | 2 | ||||
-rw-r--r-- | src/proto/os_unix.pro | 2 | ||||
-rw-r--r-- | src/proto/os_win32.pro | 2 | ||||
-rw-r--r-- | src/proto/ui.pro | 1 |
5 files changed, 5 insertions, 3 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index e056d5ffe0..53c5dab94c 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -4,6 +4,7 @@ int ch_log_active(void); void ch_log(channel_T *ch, char *msg); void ch_logs(channel_T *ch, char *msg, char *name); channel_T *add_channel(void); +int has_any_channel(void); int channel_unref(channel_T *channel); int free_unused_channels_contents(int copyID, int mask); void free_unused_channels(int copyID, int mask); diff --git a/src/proto/os_amiga.pro b/src/proto/os_amiga.pro index b1d0134b7e..b781680a8c 100644 --- a/src/proto/os_amiga.pro +++ b/src/proto/os_amiga.pro @@ -36,7 +36,7 @@ int mch_get_shellsize(void); void mch_set_shellsize(void); void mch_new_shellsize(void); int mch_call_shell(char_u *cmd, int options); -void mch_breakcheck(void); +void mch_breakcheck(int force); long Chk_Abort(void); int mch_expandpath(garray_T *gap, char_u *pat, int flags); int mch_has_exp_wildcard(char_u *p); diff --git a/src/proto/os_unix.pro b/src/proto/os_unix.pro index 1d025e8284..b1e9b8e299 100644 --- a/src/proto/os_unix.pro +++ b/src/proto/os_unix.pro @@ -61,7 +61,7 @@ void mch_start_job(char **argv, job_T *job, jobopt_T *options); char *mch_job_status(job_T *job); int mch_stop_job(job_T *job, char_u *how); void mch_clear_job(job_T *job); -void mch_breakcheck(void); +void mch_breakcheck(int force); int mch_expandpath(garray_T *gap, char_u *path, int flags); int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags); int mch_has_exp_wildcard(char_u *p); diff --git a/src/proto/os_win32.pro b/src/proto/os_win32.pro index 19c59ec961..4e6af5bd2f 100644 --- a/src/proto/os_win32.pro +++ b/src/proto/os_win32.pro @@ -48,7 +48,7 @@ void mch_set_normal_colors(void); void mch_write(char_u *s, int len); void mch_delay(long msec, int ignoreinput); int mch_remove(char_u *name); -void mch_breakcheck(void); +void mch_breakcheck(int force); long_u mch_total_mem(int special); int mch_wrename(WCHAR *wold, WCHAR *wnew); int mch_rename(const char *pszOldFile, const char *pszNewFile); diff --git a/src/proto/ui.pro b/src/proto/ui.pro index 072e0c4963..dbb7213963 100644 --- a/src/proto/ui.pro +++ b/src/proto/ui.pro @@ -10,6 +10,7 @@ int ui_get_shellsize(void); void ui_set_shellsize(int mustset); void ui_new_shellsize(void); void ui_breakcheck(void); +void ui_breakcheck_force(int force); void clip_init(int can_use); void clip_update_selection(VimClipboard *clip); void clip_own_selection(VimClipboard *cbd); |