update current file after shell commands
This commit is contained in:
parent
90e3a22dc8
commit
6792ed86df
6
eval.go
6
eval.go
@ -426,17 +426,15 @@ func (e *callExpr) eval(app *app, args []string) {
|
||||
log.Printf("search: %s", s)
|
||||
app.nav.search = s
|
||||
app.nav.searchNext()
|
||||
app.ui.loadFile(app.nav)
|
||||
app.ui.loadFileInfo(app.nav)
|
||||
case "?":
|
||||
log.Printf("search-back: %s", s)
|
||||
app.nav.search = s
|
||||
app.nav.searchPrev()
|
||||
app.ui.loadFile(app.nav)
|
||||
app.ui.loadFileInfo(app.nav)
|
||||
default:
|
||||
log.Printf("entering unknown execution prefix: %q", app.ui.cmdpref)
|
||||
}
|
||||
app.ui.loadFile(app.nav)
|
||||
app.ui.loadFileInfo(app.nav)
|
||||
app.ui.cmdpref = ""
|
||||
case "cmd-delete-back":
|
||||
if len(app.ui.cmdlacc) > 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user