summaryrefslogtreecommitdiff
path: root/gocui/view.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/view.go
parent327e14f05154b1cfdb9af27b387cc3227cedca0d (diff)
everything against 'gui/widget'
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/view.go')
-rw-r--r--gocui/view.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/gocui/view.go b/gocui/view.go
index 74c1309..a93ac28 100644
--- a/gocui/view.go
+++ b/gocui/view.go
@@ -8,7 +8,7 @@ import (
"strings"
"github.com/awesome-gocui/gocui"
- "go.wit.com/gui/toolkits"
+ "go.wit.com/gui/widget"
)
func splitLines(s string) []string {
@@ -183,11 +183,11 @@ func (n *node) hideWidgets() {
w := n.tk
w.isCurrent = false
switch n.WidgetType {
- case toolkit.Root:
- case toolkit.Flag:
- case toolkit.Window:
- case toolkit.Box:
- case toolkit.Grid:
+ case widget.Root:
+ case widget.Flag:
+ case widget.Window:
+ case widget.Box:
+ case widget.Grid:
default:
n.hideView()
}