fix: prevent panic in shell-wait (#2736)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-11-09 23:14:51 +01:00
1 parent 59cbc97b50
commit 826c5fc0aa
2 files changed
+13 -9

No files matched your search

+1 -1
View File
@@ -553,7 +553,7 @@ func (app *app) runCmdSync(cmd *exec.Cmd, pauseAfter bool) {
app.ui.echoerrf("running shell: %s", err)
}
if pauseAfter {
anyKey()
app.ui.anyKey()
}
app.ui.loadFile(app, true)