summaryrefslogtreecommitdiff
path: root/window.go
diff options
context:
space:
mode:
Diffstat (limited to 'window.go')
-rw-r--r--window.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/window.go b/window.go
index 51f40e1..043f109 100644
--- a/window.go
+++ b/window.go
@@ -71,6 +71,10 @@ func (tk *guiWidget) redrawWindow(w int, h int) {
tk.setFullSize()
tk.Show()
+ if tk.v == nil {
+ log.Info("redrawWindow on tk.v == nil")
+ standardExit()
+ }
tk.v.Clear()
fmt.Fprint(tk.v, "ZZZ"+tk.GetText())
tk.showWidgets()