diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-08-02 12:31:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-08-02 12:31:44 +0200 |
commit | e4195c5d84027a3137ad4bc0ba5b6bd14b8a3a04 (patch) | |
tree | 70e9a714c7e73dc5ac4c17f9372659fc4b59623e | |
parent | 8a0f3c78fede1a9e27973e0c2458afcd0c189c9c (diff) | |
download | vim-git-e4195c5d84027a3137ad4bc0ba5b6bd14b8a3a04.tar.gz |
updated for version 7.3.619v7.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)
-rw-r--r-- | src/os_win32.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 6b29cfc33..8151e6054 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -3319,6 +3319,8 @@ mch_system_classic(char *cmd, int options) { TranslateMessage(&msg); pDispatchMessage(&msg); + delay = 1; + continue; } if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT) break; diff --git a/src/version.c b/src/version.c index 94a2b5cfd..285bdfc36 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 619, +/**/ 618, /**/ 617, |