diff --git a/app.go b/app.go index 4bfaea61..57936b49 100644 --- a/app.go +++ b/app.go @@ -526,7 +526,7 @@ func (app *app) runShell(s string, args []string, prefix string) { return } - // We are running the command asynchroniously + // We are running the command asynchronously if prefix == "%" { if app.ui.cmdPrefix == ">" { return @@ -549,12 +549,6 @@ func (app *app) runShell(s string, args []string, prefix string) { app.ui.echoerrf("running shell: %s", err) } - // Asynchronous shell invocations return immediately without waiting for the - // command to finish, so there is no point refreshing the preview if nothing - // has changed yet. - volatile := prefix != "&" - app.ui.loadFile(app, volatile) - switch prefix { case "%": normal(app)