Allow blank input lines for shell-pipe commands (#1308)
This commit is contained in:
1 parent
067ffa8f1a
commit
56ab5ccc61
1 file changed
+1
-1
@@ -2153,7 +2153,7 @@ func (e *callExpr) eval(app *app, args []string) {
|
|||||||
app.menuCompActive = false
|
app.menuCompActive = false
|
||||||
case "cmd-enter":
|
case "cmd-enter":
|
||||||
s := string(append(app.ui.cmdAccLeft, app.ui.cmdAccRight...))
|
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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user