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:
@@ -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;
|
||||
|
@@ -738,6 +738,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
116,
|
||||
/**/
|
||||
115,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user