Skip to content

Commit

Permalink
fix scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronjanse committed Apr 19, 2020
1 parent 6cad9c3 commit a64bff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a64bff7

Please sign in to comment.