Improve refreshing of file statinfo (#1536)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-12-26 15:56:20 +01:00
1 parent e1ab72516d
commit 12ce649681
3 files changed
+9 -6

No files matched your search

+1 -2
View File
@@ -1960,8 +1960,7 @@ func (e *callExpr) eval(app *app, args []string) {
app.ui.echoerrf("reload: %s", err)
}
app.ui.loadFile(app, true)
// clear file information, will be loaded asynchronously
app.ui.msg = ""
app.ui.loadFileInfo(app.nav)
case "read":
if app.ui.cmdPrefix == ">" {
return