diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 01:42:40 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 01:42:40 -0600 |
| commit | 31c130045d903b3c874dbf8728589a6a909704ae (patch) | |
| tree | 0abb0bdedd03b7556c08ca86ef1137dc759e4d8a /help.go | |
| parent | 70a742c98acfe8979bb3c040abd6030388e61542 (diff) | |
add a goroutine and channel to trigger window redraw
Diffstat (limited to 'help.go')
| -rw-r--r-- | help.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -88,6 +88,15 @@ func showHelp() error { return err } } + g.SetViewOnTop("help") me.helpLabel = help return nil } + +func helpTop() { + if me.showHelp { // terrible variable name. FIXME + // log.Info("help is hidden") + return + } + me.baseGui.SetViewOnTop("help") +} |
