summaryrefslogtreecommitdiffstats
path: root/src/os_amiga.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/os_amiga.c
parent69e44552c567ff25b363ba0790ad3d43fa0397a7 (diff)
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/os_amiga.c')
-rw-r--r--src/os_amiga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os_amiga.c b/src/os_amiga.c
index 850c26acda..91c13e7d29 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -222,10 +222,10 @@ mch_avail_mem(int special)
/*
* Waits a specified amount of time, or until input arrives if
- * ignoreinput is FALSE.
+ * flags does not have MCH_DELAY_IGNOREINPUT.
*/
void
-mch_delay(long msec, int ignoreinput)
+mch_delay(long msec, int flags)
{
#ifndef LATTICE // SAS declares void Delay(ULONG)
void Delay(long);
@@ -233,7 +233,7 @@ mch_delay(long msec, int ignoreinput)
if (msec > 0)
{
- if (ignoreinput)
+ if (flags & MCH_DELAY_IGNOREINPUT)
Delay(msec / 20L); // Delay works with 20 msec intervals
else
WaitForChar(raw_in, msec * 1000L);