From 7ba0741451d8eea497fba07ca2bbf6fae107a6a6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 11 Dec 2013 14:55:01 +0100 Subject: [PATCH] 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) --- src/normal.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/normal.c b/src/normal.c index 013fdcee4..f76aeee37 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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; diff --git a/src/version.c b/src/version.c index a69488f16..a44d9dd8b 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 116, /**/ 115, /**/ -- 2.50.1