Skip to content

Commit

Permalink
Allow blank input lines for shell-pipe commands (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelim-work authored Jul 3, 2023
1 parent 067ffa8 commit 56ab5cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 56ab5cc

Please sign in to comment.