diff options
| author | Jeff Carr <[email protected]> | 2023-04-26 12:38:39 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-26 12:38:39 -0500 |
| commit | 78c2c9c45f1c3b01d5ab39489b50d969ffc1dd03 (patch) | |
| tree | 491e644bf8640de95115c7a687ac17b39de4b654 /toolkit/gocui/tab.go | |
| parent | 41aa58692fd1937b71dee4e1e710dee822a84556 (diff) | |
gocui: closer to correct tabs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/tab.go')
| -rw-r--r-- | toolkit/gocui/tab.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/gocui/tab.go b/toolkit/gocui/tab.go index 32f3fce..ae38b17 100644 --- a/toolkit/gocui/tab.go +++ b/toolkit/gocui/tab.go @@ -37,7 +37,7 @@ func (w *cuiWidget) showFake() { if (w.isFake) { w.setFake() w.showWidgetPlacement(logNow, "showFake:") - w.drawView() + w.showView() } for _, child := range w.children { child.showFake() @@ -50,7 +50,7 @@ func (w *cuiWidget) showWidgets() { } else { if w.IsCurrent() { w.showWidgetPlacement(logNow, "current:") - w.drawView() + w.showView() } else { w.showWidgetPlacement(logNow, "not:") // w.drawView() @@ -121,12 +121,12 @@ func (w *cuiWidget) redoTabs(draw bool) { } w.setWindowWH() w.deleteView() - w.drawView() + w.showView() } if (w.widgetType == toolkit.Tab) { w.setTabWH() w.deleteView() - w.drawView() + w.showView() } for _, child := range w.children { |
