Fixed duplicate shown showcmd in command mode.
authorDaniel Carl <danielcarl@gmx.de>
Wed, 19 Nov 2014 20:43:00 +0000 (21:43 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 19 Nov 2014 20:43:00 +0000 (21:43 +0100)
If <C-R> was pressed within the inputbox, the showcmd section of the statusbar
showed ^R^R instead of a single ^R.

src/ex.c

index 1af4b06..4a34c5a 100644 (file)
--- a/src/ex.c
+++ b/src/ex.c
@@ -365,10 +365,6 @@ VbResult ex_keypress(int key)
     if (res == RESULT_COMPLETE) {
         info.cutbuf = 0;
         info.phase  = PHASE_START;
-    } else {
-        /* if the key sequence is not complete show the already typed keys in
-         * status bar */
-        map_showcmd(key);
     }
 
     return res;