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/plugin.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/plugin.go')
| -rw-r--r-- | toolkit/gocui/plugin.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/toolkit/gocui/plugin.go b/toolkit/gocui/plugin.go index f1b6751..c41b558 100644 --- a/toolkit/gocui/plugin.go +++ b/toolkit/gocui/plugin.go @@ -22,22 +22,26 @@ func (w *cuiWidget) setStartWH() { w.id = 0 w.isFake = true w.setFake() - w.showWidgetPlacement(logNow, "Tree:") + w.showWidgetPlacement(logNow, "StartWH:") return case toolkit.Flag: w.startW = 1 w.startH = 1 w.isFake = true w.setFake() - w.showWidgetPlacement(logNow, "Tree:") + w.showWidgetPlacement(logNow, "StartWH:") return case toolkit.Window: w.startW = 1 w.startH = 3 + w.setTabWH() + w.showWidgetPlacement(logNow, "StartWH:") return case toolkit.Tab: w.startW = 1 w.startH = 3 + w.setTabWH() + w.showWidgetPlacement(logNow, "StartWH:") return } p := w.parent |
