summaryrefslogtreecommitdiff
path: root/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-25 08:56:33 -0500
committerJeff Carr <[email protected]>2025-03-25 13:17:00 -0500
commit36514cbb6818dd06e13b2dff20fa4f0ac67ce545 (patch)
treeb9f454146b7c2c54ea17cf4e60f230e91a18e6b3 /debug.go
parent1552eedc185e85b46498898e68867afaef308301 (diff)
fix arrow up & down on scrolling stdout
Diffstat (limited to 'debug.go')
-rw-r--r--debug.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug.go b/debug.go
index 490b113..0e3ae94 100644
--- a/debug.go
+++ b/debug.go
@@ -86,7 +86,8 @@ func (tk *guiWidget) dumpWidget(s string) {
} else {
end = fmt.Sprintf("%-8s %-8s %s", tk.WidgetType(), tk.cuiName, tk.String())
}
- if tk.findParentTable() != nil {
+ if tk.node.InTable() {
+ // log.Log(GOCUI, "findParentTAble()", tk.labelN, tk.cuiName, tk.node.WidgetId)
end += " (table)"
}
log.Log(GOCUI, s1, s, end)