summaryrefslogtreecommitdiff
path: root/gocui/debug.go
diff options
context:
space:
mode:
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() {