Revert "Trigger update after copy/move (#1638)" (#1661)

This reverts commit ddcd308614.
This commit is contained in:
Joe Lim authored and GitHub committed 2024-03-26 18:52:14 +11:00
1 parent c9d28f6e9d
commit 1e10e95f4d
2 files changed
+1 -11

No files matched your search

-5
View File
@@ -482,10 +482,6 @@ func (app *app) runCmdSync(cmd *exec.Cmd, pause_after bool) {
}
app.ui.loadFile(app, true)
//mark the current directory as updated for refresh
app.nav.currDir().updated = true
app.nav.renew()
}
@@ -521,7 +517,6 @@ func (app *app) runShell(s string, args []string, prefix string) {
cmd.Stderr = os.Stderr
app.runCmdSync(cmd, prefix == "!")
return
}