Remain in command mode after cmd-history-next (#168)
This commit is contained in:
1 parent
a5199960ed
commit
f3407b2d61
1 file changed
+4
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user