diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 03:33:27 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 03:33:27 -0600 |
| commit | 96cb52f3efdf16d966a7913db1cd4c9800da049f (patch) | |
| tree | 3f741306a794df2a8bb1ede7bb6cf74ff38d8958 /stdoutShow.go | |
| parent | 9c548faedacfdfbda09d170c6665fcdb988bd877 (diff) | |
stdout window hides on startup
Diffstat (limited to 'stdoutShow.go')
| -rw-r--r-- | stdoutShow.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdoutShow.go b/stdoutShow.go index dd5a403..752f0ed 100644 --- a/stdoutShow.go +++ b/stdoutShow.go @@ -96,6 +96,9 @@ func makeOutputWidget(g *gocui.Gui, stringFromMouseClick string) *gocui.View { } func relocateStdoutOffscreen() { + if me.stdout.tk == nil { + return + } newW := 10 newH := 0 - me.stdout.h - 4 me.stdout.tk.relocateStdout(newW, newH) |
