diff --git a/eval.go b/eval.go index dc09c2b..5ce5efc 100644 --- a/eval.go +++ b/eval.go @@ -959,7 +959,10 @@ func (e *callExpr) eval(app *app, args []string) { app.cmdHistoryInd-- } if app.cmdHistoryInd == 0 { - normal(app) + app.ui.menuBuf = nil + app.ui.cmdAccLeft = nil + app.ui.cmdAccRight = nil + app.ui.cmdPrefix = ":" return } cmd := app.cmdHistory[len(app.cmdHistory)-app.cmdHistoryInd]