summaryrefslogtreecommitdiff
path: root/toolkit/gocui/debug.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-04 06:31:30 -0500
committerJeff Carr <[email protected]>2023-04-04 06:31:30 -0500
commitd6b1fa497dcb21e194348d321bfc25f6b128438f (patch)
treee653d621c1302dd58de4b8b280cd13f613e518b7 /toolkit/gocui/debug.go
parent8982b2a8cfb10ad2ac2e50c0fcbdad88556e495a (diff)
gocui: use (w,h) and avoid (x,y) names
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/debug.go')
-rw-r--r--toolkit/gocui/debug.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go
index 0573f70..3995794 100644
--- a/toolkit/gocui/debug.go
+++ b/toolkit/gocui/debug.go
@@ -47,7 +47,7 @@ func (w *cuiWidget) showWidgetPlacement(b bool, s string) {
log(b, "dump()", s,
fmt.Sprintf("(wId,pId)=(%3d,%3d)", w.id, w.parent.id),
fmt.Sprintf("real()=(%3d,%3d,%3d,%3d)", w.realSize.w0, w.realSize.h0, w.realSize.w1, w.realSize.h1),
- "next()=(", w.nextW, ",", w.nextH, ")",
+ "size()=(", w.realWidth, ",", w.realHeight, ")",
"logical()=(", w.logicalSize.w0, ",", w.logicalSize.h0, ",", w.logicalSize.w1, ",", w.logicalSize.h1, ")",
w.widgetType, ",", w.name, "text=", w.text)