Skip to content

Commit 3aad546

Browse files
committed
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)
1 parent d7c85f9 commit 3aad546

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/normal.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4021,6 +4021,8 @@ add_to_showcmd(c)
40214021
#endif
40224022

40234023
p = transchar(c);
4024+
if (*p == ' ')
4025+
STRCPY(p, "<20>");
40244026
old_len = (int)STRLEN(showcmd_buf);
40254027
extra_len = (int)STRLEN(p);
40264028
overflow = old_len + extra_len - SHOWCMD_COLS;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,8 @@ static char *(features[]) =
738738

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
116,
741743
/**/
742744
115,
743745
/**/

0 commit comments

Comments
 (0)