cmdline: remove invalid cmdline_show event when aborting mapping

This commit is contained in:
Björn Linse
2019-06-26 07:22:19 +02:00
parent 10c983fabe
commit 4bf05ba399
3 changed files with 43 additions and 5 deletions

View File

@@ -1978,6 +1978,7 @@ static int command_line_changed(CommandLineState *s)
static void abandon_cmdline(void)
{
XFREE_CLEAR(ccline.cmdbuff);
ccline.redraw_state = kCmdRedrawNone;
if (msg_scrolled == 0) {
compute_cmdrow();
}