summaryrefslogtreecommitdiff
path: root/stdoutShow.go
diff options
context:
space:
mode:
Diffstat (limited to 'stdoutShow.go')
-rw-r--r--stdoutShow.go3
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)