forked from aniani/vim
patch 8.2.1513: cannot interrupt shell used for filename expansion
Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
This commit is contained in:
@@ -6739,7 +6739,7 @@ notsgr:
|
||||
void
|
||||
mch_delay(
|
||||
long msec,
|
||||
int ignoreinput UNUSED)
|
||||
int flags UNUSED)
|
||||
{
|
||||
#if defined(FEAT_GUI_MSWIN) && !defined(VIMDLL)
|
||||
Sleep((int)msec); // never wait for input
|
||||
@@ -6751,7 +6751,7 @@ mch_delay(
|
||||
return;
|
||||
}
|
||||
# endif
|
||||
if (ignoreinput)
|
||||
if (flags & MCH_DELAY_IGNOREINPUT)
|
||||
# ifdef FEAT_MZSCHEME
|
||||
if (mzthreads_allowed() && p_mzq > 0 && msec > p_mzq)
|
||||
{
|
||||
|
Reference in New Issue
Block a user