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/plugin.go | |
| parent | 41aa58692fd1937b71dee4e1e710dee822a84556 (diff) | |
gocui: closer to correct tabs
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/plugin.go')
| -rw-r--r-- | toolkit/gocui/plugin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/gocui/plugin.go b/toolkit/gocui/plugin.go index f70ae96..f204e09 100644 --- a/toolkit/gocui/plugin.go +++ b/toolkit/gocui/plugin.go @@ -27,7 +27,7 @@ func action(a *toolkit.Action) { } case toolkit.Show: if (a.B) { - w.drawView() + w.showView() } else { w.hideWidgets() } @@ -71,7 +71,7 @@ func (w *cuiWidget) SetText(text string) { w.s = text w.textResize() w.deleteView() - w.drawView() + w.showView() } func (w *cuiWidget) Set(val any) { |
