aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--widgets/exline.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/exline.go b/widgets/exline.go
index 4791ae9..be1cde1 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)