From 3760bfddc414e4d3e1c4203db8c22e293cf08d09 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 6 Jun 2022 16:22:46 +0100 Subject: patch 8.2.5064: no test for what 8.1.0052 fixes Problem: No test for what 8.1.0052 fixes. Solution: Add a test. (closes #10531) --- src/getchar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index 03d90ac87e..2747423b1d 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -3458,8 +3458,8 @@ vgetorpeek(int advance) * get a character: 3. from the user - get it */ if (typebuf.tb_len == 0) - // timedout may have been set while waiting for a mapping - // that has a RHS. + // timedout may have been set if a mapping with empty RHS + // fully matched while longer mappings timed out. timedout = FALSE; if (advance) -- cgit v1.2.3