Merge pull request #1335 from joelim-work/load-non-volatile

Prevent image preview flicker for `load` command
This commit is contained in:
Joe Lim authored and GitHub committed 2023-07-12 08:54:36 +10:00
commit a3127a2dc3
1 file changed
+1 -1
+1 -1
View File
@@ -1757,7 +1757,7 @@ func (e *callExpr) eval(app *app, args []string) {
return return
} }
app.nav.renew() app.nav.renew()
app.ui.loadFile(app, true) app.ui.loadFile(app, false)
case "reload": case "reload":
if !app.nav.init { if !app.nav.init {
return return