summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 12fd1c9146..419ce7468e 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3020,8 +3020,9 @@ check_end_reg_executing(int advance)
vgetorpeek(int advance)
{
int c, c1;
- int timedout = FALSE; // waited for more than 1 second
- // for mapping to complete
+ int timedout = FALSE; // waited for more than 'timeoutlen'
+ // for mapping to complete or
+ // 'ttimeoutlen' for complete key code
int mapdepth = 0; // check for recursive mapping
int mode_deleted = FALSE; // set when mode has been deleted
#ifdef FEAT_CMDL_INFO