aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/exline.go2
1 files changed, 1 insertions, 1 deletions
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)