summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-08-23 14:28:37 +0200
committerBram Moolenaar <Bram@vim.org>2020-08-23 14:28:37 +0200
commit0981c8729e09551f2e8e6c159bc29f2c1d04019c (patch)
treefb59625d83fd366041f504191b5dbfadea1d81c9 /src/term.c
parent69e44552c567ff25b363ba0790ad3d43fa0397a7 (diff)
downloadvim-git-0981c8729e09551f2e8e6c159bc29f2c1d04019c.tar.gz
patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513
Problem: Cannot interrupt shell used for filename expansion. (Dominique Pellé) Solution: Do set tmode in mch_delay(). (closes #6770)
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index 3648df6d5..b1a7a66c5 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3598,7 +3598,7 @@ stoptermcap(void)
{
# ifdef UNIX
// Give the terminal a chance to respond.
- mch_delay(100L, FALSE);
+ mch_delay(100L, 0);
# endif
# ifdef TCIFLUSH
// Discard data received but not read.