summaryrefslogtreecommitdiff
path: root/eventBindingsStdout.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventBindingsStdout.go')
-rw-r--r--eventBindingsStdout.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/eventBindingsStdout.go b/eventBindingsStdout.go
index 1eed205..f48ed77 100644
--- a/eventBindingsStdout.go
+++ b/eventBindingsStdout.go
@@ -67,6 +67,14 @@ func stdoutArrowDown(g *gocui.Gui, v *gocui.View) error {
}
func stdoutPgdn(g *gocui.Gui, v *gocui.View) error {
+ win := findWindowUnderMouse()
+ if win != nil {
+ if win.full.Height() > 50 {
+ log.Info("paging through really large window pager =", win.window.pager)
+ win.window.pager += 10
+ return nil
+ }
+ }
me.stdout.pager += 10
tk := me.stdout.tk