summaryrefslogtreecommitdiff
path: root/eventBindingsStdout.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-03 01:56:01 -0500
committerJeff Carr <[email protected]>2025-09-03 01:56:01 -0500
commit86aa5fb001bb873da1a491391f12b17a1a1990a0 (patch)
tree772cb747816a01d109d7f870389bce582eec39eb /eventBindingsStdout.go
parent262426fb448d8bd616d1ed687f3da7e1ed2dc6a2 (diff)
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
}