From cc639a1e656560fbfbbacbc115d3559c46452189 Mon Sep 17 00:00:00 2001 From: Christopher Vittal Date: Sun, 18 Aug 2019 01:37:49 -0400 Subject: Add support for as '' in ExLine --- widgets/exline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/exline.go b/widgets/exline.go index 4791ae92..be1cde17 100644 --- a/widgets/exline.go +++ b/widgets/exline.go @@ -50,7 +50,7 @@ func (ex *ExLine) Event(event tcell.Event) bool { switch event := event.(type) { case *tcell.EventKey: switch event.Key() { - case tcell.KeyEnter: + case tcell.KeyEnter, tcell.KeyCtrlJ: cmd := ex.input.String() ex.input.Focus(false) ex.commit(cmd) -- cgit