From a64bff7dcb6e0d18a443ff2e120417fea2d1db1a Mon Sep 17 00:00:00 2001 From: Aaron Janse Date: Sun, 19 Apr 2020 15:26:29 -0700 Subject: [PATCH] fix scrolling --- input.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input.go b/input.go index d26db00..d78a7d6 100644 --- a/input.go +++ b/input.go @@ -264,10 +264,10 @@ func seiveMouseEvents(human string, obj ecma48.Output) bool { // do nothing case ecma48.ScrollUp: t := getSelection().getContainer().(*Pane) - t.vterm.ScrollbackDown() + t.vterm.ScrollbackUp() case ecma48.ScrollDown: t := getSelection().getContainer().(*Pane) - t.vterm.ScrollbackUp() + t.vterm.ScrollbackDown() default: return false }