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:
@@ -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;
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
619,
|
||||
/**/
|
||||
618,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user