Allow blank input lines for shell-pipe commands (#1308)

This commit is contained in:
Joe Lim authored and GitHub committed 2023-07-03 14:25:20 +03:00
1 parent 067ffa8f1a
commit 56ab5ccc61
1 file changed
+1 -1
+1 -1
View File
@@ -2153,7 +2153,7 @@ func (e *callExpr) eval(app *app, args []string) {
app.menuCompActive = false
case "cmd-enter":
s := string(append(app.ui.cmdAccLeft, app.ui.cmdAccRight...))
if len(s) == 0 && app.ui.cmdPrefix != "filter: " {
if len(s) == 0 && app.ui.cmdPrefix != "filter: " && app.ui.cmdPrefix != ">" {
return
}