Fix message clear bug during shell-pipe command (#2175)

This commit is contained in:
Joe Lim authored and GitHub committed 2025-09-20 14:43:36 +10:00
1 parent 73d7837cfc
commit b0932b02c2
1 file changed
+1 -1
+1 -1
View File
@@ -2292,7 +2292,7 @@ func (e *callExpr) eval(app *app, args []string) {
"on-focus-lost", "on-focus-lost",
"on-init", "on-init",
} }
if !slices.Contains(keepMsgCmds, e.name) { if !slices.Contains(keepMsgCmds, e.name) && app.ui.cmdPrefix != ">" {
app.ui.echo("") app.ui.echo("")
} }
} }