From c7fe60c541680b9352136b7240a1667d71d5ca41 Mon Sep 17 00:00:00 2001 From: Gokcehan Date: Thu, 31 Jan 2019 21:55:32 +0300 Subject: [PATCH] keep command line mode for resize events --- eval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.go b/eval.go index 55e4728..0518006 100644 --- a/eval.go +++ b/eval.go @@ -475,7 +475,7 @@ func insert(app *app, arg string) { } func (e *callExpr) eval(app *app, args []string) { - if app.ui.cmdPrefix != "" && !strings.HasPrefix(e.name, "cmd-") { + if app.ui.cmdPrefix != "" && e.name != "redraw" && !strings.HasPrefix(e.name, "cmd-") { app.ui.menuBuf = nil app.ui.cmdAccLeft = nil app.ui.cmdAccRight = nil