From 9440b1b319d9f0a320918724a2f72199657c1613 Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Sun, 12 Mar 2023 23:30:16 +1100 Subject: [PATCH] Update file info after reload command (#1149) * Update status bar after reload * Add comment --- eval.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eval.go b/eval.go index 579ad58e..d7f93842 100644 --- a/eval.go +++ b/eval.go @@ -1312,7 +1312,8 @@ func (e *callExpr) eval(app *app, args []string) { app.ui.echoerrf("reload: %s", err) } app.ui.loadFile(app, true) - app.ui.loadFileInfo(app.nav) + // clear file information, will be loaded asynchronously + app.ui.msg = "" case "read": if app.ui.cmdPrefix == ">" { return