summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.go b/main.go
index feffb60..583cd51 100644
--- a/main.go
+++ b/main.go
@@ -72,6 +72,12 @@ func runUI() (err error) {
return
}
+ if keyBinding[binding.ContinuousEvaluation] == "false" {
+ if err = g.SetKeybinding("", gocui.KeyEnter, gocui.ModNone, ParseInput); err != nil {
+ return
+ }
+ }
+
Select(g, conflicts[cur], false)
if err = g.MainLoop(); err != nil {