diff options
| author | Jeff Carr <[email protected]> | 2023-04-05 17:29:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-05 17:29:52 -0500 |
| commit | 9c5eda73fa47dfd156c7de3292169150af2f46a8 (patch) | |
| tree | 7b83a644451570c037401d55c425e5c2af50e560 /toolkit/gocui/debug.go | |
| parent | 89bff61cb1373035f7a20b05dd975f8dfbbb767a (diff) | |
gocui: more dumb and broken attempts at fixing this code
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/debug.go')
| -rw-r--r-- | toolkit/gocui/debug.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolkit/gocui/debug.go b/toolkit/gocui/debug.go index aa12281..421b84c 100644 --- a/toolkit/gocui/debug.go +++ b/toolkit/gocui/debug.go @@ -46,8 +46,9 @@ func (w *cuiWidget) showWidgetPlacement(b bool, s string) { pId = w.parent.id } s1 = fmt.Sprintf("(wId,pId)=(%2d,%2d) ", w.id, pId) - s1 += fmt.Sprintf("real()=(%2d,%2d,%2d,%2d) ", w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1) + s1 += fmt.Sprintf("W,H()=(%2d,%2d) ", w.startW, w.startH) s1 += fmt.Sprintf("size()=(%2d,%2d) ", w.realWidth, w.realHeight) + s1 += fmt.Sprintf("real()=(%2d,%2d,%2d,%2d) ", w.gocuiSize.w0, w.gocuiSize.h0, w.gocuiSize.w1, w.gocuiSize.h1) switch w.widgetType { case toolkit.Grid: |
