Skip to content

Commit

Permalink
load file info after init (#994)
Browse files Browse the repository at this point in the history
* load fileinfo after init

* do not overwrite error message if present
  • Loading branch information
valoq authored Nov 13, 2022
1 parent 9bb2487 commit 459608e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ func (app *app) loop() {
if err == nil {
if d.path == app.nav.currDir().path {
app.ui.loadFile(app, true)
if app.ui.msg == "" {
app.ui.loadFileInfo(app.nav)
}
}
if d.path == curr.path {
app.ui.dirPrev = d
Expand Down

0 comments on commit 459608e

Please sign in to comment.