diff --git a/src/terminal.go b/src/terminal.go index bfa327db..7ec00f95 100644 --- a/src/terminal.go +++ b/src/terminal.go @@ -6332,7 +6332,7 @@ func (t *Terminal) Loop() error { if a.t == actOffsetDown { diff = -1 } - if t.layout == layoutReverse { + if t.layout != layoutDefault { diff *= -1 } t.offset += diff @@ -6340,7 +6340,7 @@ func (t *Terminal) Loop() error { t.constrain() if before != t.offset { t.offset = before - if t.layout == layoutReverse { + if t.layout != layoutDefault { diff *= -1 } t.vmove(diff, false)