diff options
Diffstat (limited to 'eventBindingsStdout.go')
| -rw-r--r-- | eventBindingsStdout.go | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eventBindingsStdout.go b/eventBindingsStdout.go index 4feca78..1eed205 100644 --- a/eventBindingsStdout.go +++ b/eventBindingsStdout.go @@ -31,18 +31,15 @@ func theStdout(g *gocui.Gui, v *gocui.View) error { me.stdout.tk.relocateStdout(me.stdout.lastW, me.stdout.lastH) me.stdout.outputOnTop = false setThingsOnTop() - // me.baseGui.SetViewOnBottom("msg") - // setBottomBG() } else { me.stdout.outputOnTop = true setThingsOnTop() - // me.baseGui.SetViewOnTop("msg") } return nil } func stdoutPgup(g *gocui.Gui, v *gocui.View) error { - me.stdout.pager -= 40 + me.stdout.pager -= me.stdout.Height() - 2 if me.stdout.pager < 0 { me.stdout.pager = 0 } |
