1
0
forked from aniani/vim

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)
This commit is contained in:
Bram Moolenaar
2012-08-02 12:31:44 +02:00
parent 8a0f3c78fe
commit e4195c5d84
2 changed files with 4 additions and 0 deletions

View File

@@ -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;

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
619,
/**/
618,
/**/