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

updated for version 7.4.116

Problem:    When a mapping starts with a space, the typed space does not show
            up for 'showcmd'.
Solution:   Show "<20>". (Brook Hong)
This commit is contained in:
Bram Moolenaar
2013-12-11 14:55:01 +01:00
parent b011af9696
commit 7ba0741451
2 changed files with 4 additions and 0 deletions

View File

@@ -4021,6 +4021,8 @@ add_to_showcmd(c)
#endif
p = transchar(c);
if (*p == ' ')
STRCPY(p, "<20>");
old_len = (int)STRLEN(showcmd_buf);
extra_len = (int)STRLEN(p);
overflow = old_len + extra_len - SHOWCMD_COLS;

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
116,
/**/
115,
/**/