Mercurial > vim
diff src/os_win32.c @ 10240:175b1116f96a v8.0.0018
commit https://github.com/vim/vim/commit/b9c31e71f5a4653a27e81c21226039bfa35b9131
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Sep 29 15:18:57 2016 +0200
patch 8.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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 29 Sep 2016 15:30:05 +0200 |
parents | cf9e550f17f6 |
children | c036c0f636d5 |
line wrap: on
line diff
--- a/src/os_win32.c +++ b/src/os_win32.c @@ -6187,10 +6187,10 @@ mch_remove(char_u *name) /* - * check for an "interrupt signal": CTRL-break or CTRL-C + * Check for an "interrupt signal": CTRL-break or CTRL-C. */ void -mch_breakcheck(void) +mch_breakcheck(int force) { #ifndef FEAT_GUI_W32 /* never used */ if (g_fCtrlCPressed || g_fCBrkPressed)