diff options
Diffstat (limited to 'stdoutShow.go')
| -rw-r--r-- | stdoutShow.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdoutShow.go b/stdoutShow.go index 43e6fd3..6316aed 100644 --- a/stdoutShow.go +++ b/stdoutShow.go @@ -50,8 +50,8 @@ func makeOutputWidget(g *gocui.Gui, stringFromMouseClick string) *gocui.View { me.stdout.tk = initWidget(n) tk := me.stdout.tk - tk.gocuiSize.w0 = me.stdout.offsetW - tk.gocuiSize.h0 = me.stdout.offsetH + tk.gocuiSize.w0 = me.stdout.lastW + tk.gocuiSize.h0 = me.stdout.lastH tk.gocuiSize.w1 = tk.gocuiSize.w0 + me.stdout.w tk.gocuiSize.h1 = tk.gocuiSize.h0 + me.stdout.h @@ -90,6 +90,6 @@ func makeOutputWidget(g *gocui.Gui, stringFromMouseClick string) *gocui.View { g.SetViewOnBottom("msg") me.stdout.tk.v = v - me.stdout.tk.DrawAt(me.stdout.offsetW, me.stdout.offsetH) + me.stdout.tk.DrawAt(me.stdout.lastW, me.stdout.lastH) return v } |
