diff options
| author | Jeff Carr <[email protected]> | 2023-04-26 22:08:43 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2023-04-26 22:08:43 -0500 |
| commit | efa1b7eba77254d2607dae47e3e6ea70fc619932 (patch) | |
| tree | cc59516135be4d74a2cba230d286bdebac85c676 /toolkit/gocui/showStdout.go | |
| parent | 076b0e4077f3854f7c5e487e83cfd590d14e7aeb (diff) | |
gocui: proper line count on Stdout
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'toolkit/gocui/showStdout.go')
| -rw-r--r-- | toolkit/gocui/showStdout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/gocui/showStdout.go b/toolkit/gocui/showStdout.go index 909abd5..32fb9f3 100644 --- a/toolkit/gocui/showStdout.go +++ b/toolkit/gocui/showStdout.go @@ -16,7 +16,7 @@ func moveMsg(g *gocui.Gui) { if !movingMsg && (mx != initialMouseX || my != initialMouseY) { movingMsg = true } - g.SetView("msg", mx-xOffset, my-yOffset, mx-xOffset+outputW, my-yOffset+outputH, 0) + g.SetView("msg", mx-xOffset, my-yOffset, mx-xOffset+outputW, my-yOffset+outputH + me.FramePadH, 0) g.SetViewOnBottom("msg") } |
