summaryrefslogtreecommitdiff
path: root/eventBindingsStdout.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventBindingsStdout.go')
-rw-r--r--eventBindingsStdout.go12
1 files changed, 10 insertions, 2 deletions
diff --git a/eventBindingsStdout.go b/eventBindingsStdout.go
index 8387ea2..8e59b7d 100644
--- a/eventBindingsStdout.go
+++ b/eventBindingsStdout.go
@@ -77,12 +77,20 @@ func stdoutHome(g *gocui.Gui, v *gocui.View) error {
}
func stdoutArrowUp(g *gocui.Gui, v *gocui.View) error {
- stdoutWheelsUp()
+ if me.stdout.reverse {
+ stdoutWheelsDown()
+ } else {
+ stdoutWheelsUp()
+ }
return nil
}
func stdoutArrowDown(g *gocui.Gui, v *gocui.View) error {
- stdoutWheelsDown()
+ if me.stdout.reverse {
+ stdoutWheelsUp()
+ } else {
+ stdoutWheelsDown()
+ }
return nil
}