summaryrefslogtreecommitdiff
path: root/stdoutShow.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-06 03:09:13 -0600
committerJeff Carr <[email protected]>2025-02-06 03:09:13 -0600
commitd2c3db7b58381a919fdf51d2f0a2264c6605ff99 (patch)
treea24687a85e7f0d2b310fcf80cfbde3f3d4793559 /stdoutShow.go
parentd0e35bb98fde78d9d804ab68e11f3f4ef9bbc711 (diff)
more work on stdout settings
Diffstat (limited to 'stdoutShow.go')
-rw-r--r--stdoutShow.go6
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
}