From 56ab5ccc61458ca9a2c618345e074a5184e6b136 Mon Sep 17 00:00:00 2001 From: Joe Lim <50560759+joelim-work@users.noreply.github.com> Date: Mon, 3 Jul 2023 21:25:20 +1000 Subject: [PATCH] Allow blank input lines for `shell-pipe` commands (#1308) --- eval.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.go b/eval.go index 2eea96dc..7d46c188 100644 --- a/eval.go +++ b/eval.go @@ -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 }