diff options
| author | Jeff Carr <[email protected]> | 2025-02-06 03:09:13 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-06 03:09:13 -0600 |
| commit | d2c3db7b58381a919fdf51d2f0a2264c6605ff99 (patch) | |
| tree | a24687a85e7f0d2b310fcf80cfbde3f3d4793559 /stdoutShow.go | |
| parent | d0e35bb98fde78d9d804ab68e11f3f4ef9bbc711 (diff) | |
more work on stdout settings
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 } |
