From: Daniel Carl <danielcarl@gmx.de>
Date: Wed, 19 Nov 2014 20:43:00 +0000 (+0100)
Subject: Fixed duplicate shown showcmd in command mode.
X-Git-Url: https://git.owens.tech/dummy.html/dummy.html/git?a=commitdiff_plain;h=6d44684857e0bf06234efc98a41b982e0210d195;p=vimb.git

Fixed duplicate shown showcmd in command mode.

If <C-R> was pressed within the inputbox, the showcmd section of the statusbar
showed ^R^R instead of a single ^R.
---

diff --git a/src/ex.c b/src/ex.c
index 1af4b06..4a34c5a 100644
--- 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;