diff options
| author | Jeff Carr <[email protected]> | 2025-02-02 13:06:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-02 15:04:47 -0600 |
| commit | 517d844b3c8257dd796244e6a151deceabedab42 (patch) | |
| tree | 1ebd6b05f55b13a8b716860e4593087d8ed69228 /debug.go | |
| parent | 4a8fb6ab224e4b4c126f72be77abb1affc85e362 (diff) | |
more work on the ever illusive floating stdout window
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ func (w *guiWidget) dumpWidget(s string) { if w.node.WidgetType == widget.Box { end = fmt.Sprintf("%5s %-8s %s", w.cuiName, w.node.WidgetType, w.node.State.Direction.String()) } else { + curval := w.String() + if curval == "" { + curval = w.node.GetLabel() + } end = fmt.Sprintf("%5s %-8s %s", w.cuiName, w.node.WidgetType, w.String()) } log.Log(NOW, s1, s, end) |
