diff options
| author | Jeff Carr <[email protected]> | 2025-02-09 17:31:32 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-09 17:31:32 -0600 |
| commit | 6df064282c1a912e606100f24584e10d2c1c5b24 (patch) | |
| tree | 63664dfff77b1f249dd075bb521c84238764440f /plugin.go | |
| parent | 6ea6ffaa3df04158ebb0df152aa9524653f903d4 (diff) | |
attempting to force the "Running..." box in the corner
Diffstat (limited to 'plugin.go')
| -rw-r--r-- | plugin.go | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -229,9 +229,15 @@ func (tk *guiWidget) Disable() { // log.Info("disable widget in gocui", tk.node.WidgetType, tk.node.ProgName()) switch tk.node.WidgetType { case widget.Box: - tk.labelN = "Running..." // log.Info("todo: blank out the window here", tk.String()) - tk.showTextbox() + r := new(rectType) + // startW, startH := tk.Position() + r.w0 = 0 + r.h0 = 0 + r.w1 = r.w0 + 24 + r.h1 = r.h0 + 2 + me.textbox.tk.forceSizes(r) + showTextbox("Running...") return case widget.Button: tk.setColorDisable() |
