summaryrefslogtreecommitdiff
path: root/gocui/keybindings.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-05 13:35:01 -0600
committerJeff Carr <[email protected]>2024-01-05 13:35:01 -0600
commit8ae3b987acf65f6a1f8ca01060ebb0eeb42aae4d (patch)
treed8dbef56aed0e8d8c4a8b2ae64ee555fd66badff /gocui/keybindings.go
parent327e14f05154b1cfdb9af27b387cc3227cedca0d (diff)
everything against 'gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/keybindings.go')
-rw-r--r--gocui/keybindings.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/gocui/keybindings.go b/gocui/keybindings.go
index be05336..3e6f1a1 100644
--- a/gocui/keybindings.go
+++ b/gocui/keybindings.go
@@ -7,7 +7,7 @@ package main
import (
"os"
"github.com/awesome-gocui/gocui"
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
func defaultKeybindings(g *gocui.Gui) error {
@@ -141,9 +141,9 @@ func addDebugKeys(g *gocui.Gui) {
g.SetKeybinding("", gocui.KeyCtrlD, gocui.ModNone,
func(g *gocui.Gui, v *gocui.View) error {
if (showDebug) {
- var a toolkit.Action
+ var a widget.Action
a.B = true
- a.ActionType = toolkit.EnableDebug
+ a.ActionType = widget.EnableDebug
callback <- a
logInfo = true
logVerbose = true