commit | e4195c5d84027a3137ad4bc0ba5b6bd14b8a3a04 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 02 12:31:44 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 02 12:31:44 2012 +0200 |
tree | 70e9a714c7e73dc5ac4c17f9372659fc4b59623e | |
parent | 8a0f3c78fede1a9e27973e0c2458afcd0c189c9c [diff] [blame] |
updated for version 7.3.619 Problem: When executing a shell command Vim may become slow to respond. Solution: Don't wait after every processed message. (idea by Yasuhiro Matsumoto)
diff --git a/src/os_win32.c b/src/os_win32.c index 6b29cfc..8151e60 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -3319,6 +3319,8 @@ { TranslateMessage(&msg); pDispatchMessage(&msg); + delay = 1; + continue; } if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT) break;