summaryrefslogtreecommitdiff
path: root/gocui/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-11 19:10:24 -0600
committerJeff Carr <[email protected]>2024-01-11 19:10:24 -0600
commit3b258d0ce0e20ffedf8804409a16abbe84f1d383 (patch)
tree0273746324f274f5c95e96a32b06911f4dd40e05 /gocui/debug.go
parentc4582b0b30e3020a92baf299572d8617872d45e5 (diff)
var value any
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'gocui/debug.go')
-rw-r--r--gocui/debug.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/gocui/debug.go b/gocui/debug.go
index 8c70dd3..fe51943 100644
--- a/gocui/debug.go
+++ b/gocui/debug.go
@@ -46,12 +46,12 @@ func (n *node) showWidgetPlacement(b bool, s string) {
s1 += fmt.Sprintf("At(%2d,%2d) ", n.AtW, n.AtH)
}
}
- tmp := "." + n.Name + "."
+ tmp := "." + n.progname + "."
log.Log(INFO, s1, s, n.WidgetType, ",", tmp) // , "text=", w.text)
}
func (n *node) dumpWidget(pad string) {
- log.Log(NOW, "node:", pad, n.WidgetId, "At(", n.AtW, n.AtH, ") ,", n.WidgetType, ", n.Name =", n.Name, ", n.Text =", n.Text)
+ log.Log(NOW, "node:", pad, n.WidgetId, "At(", n.AtW, n.AtH, ") ,", n.WidgetType, ", n.progname =", n.progname, ", n.label =", n.label)
}
func (n *node) listWidgets() {