0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.372

Problem:    When using a command line mapping to <Up> with file name
            completion to go one directory up, 'wildchar' is inserted.
            (Yasuhiro Matsumoto)
Solution:   Set the KeyTyped flag.
This commit is contained in:
Bram Moolenaar
2011-12-08 18:44:51 +01:00
parent b9ba403542
commit 96a8964564
2 changed files with 6 additions and 0 deletions

View File

@@ -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;
}
}