Skip to content

Commit

Permalink
feat(gui): execute the query when ctrl+space is pressed instead the e…
Browse files Browse the repository at this point in the history
…nter key
  • Loading branch information
danvergara committed May 9, 2021
1 parent 4c6563d commit 6e41fd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gui/keybindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func (gui *Gui) keybindings() error {
}

// SQL helpers
if err := gui.g.SetKeybinding("query", gocui.KeyEnter, gocui.ModNone, gui.inputQuery()); err != nil {
if err := gui.g.SetKeybinding("query", gocui.KeyCtrlSpace, gocui.ModNone, gui.inputQuery()); err != nil {
return err
}

Expand Down

0 comments on commit 6e41fd9

Please sign in to comment.