From 96a8964564ab4acdb722b81f9d146485e6321106 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 8 Dec 2011 18:44:51 +0100 Subject: [PATCH] updated for version 7.3.372 Problem: When using a command line mapping to with file name completion to go one directory up, 'wildchar' is inserted. (Yasuhiro Matsumoto) Solution: Set the KeyTyped flag. --- src/ex_getln.c | 4 ++++ src/version.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ex_getln.c b/src/ex_getln.c index bf4999b47..97f8305ab 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -645,7 +645,11 @@ getcmdline(firstc, count, indent) } else if (ccline.cmdpos > i) cmdline_del(i); + + /* Now complete in the new directory. Set KeyTyped in case the + * Up key came from a mapping. */ c = p_wc; + KeyTyped = TRUE; } } diff --git a/src/version.c b/src/version.c index 767103b95..e2f60f61c 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 372, /**/ 371, /**/ -- 2.50.1