chiark / gitweb /
Scroll by a bit less than a full screen in files.
authorSimon Tatham <anakin@pobox.com>
Thu, 7 Dec 2023 17:55:03 +0000 (17:55 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 7 Dec 2023 17:55:03 +0000 (17:55 +0000)
commit4b781577d4fa2add85c00d8e6cf60c673c597ebe
tree0f5bcf80a89f728348ec56d79e93d4d07eebe7e8
parentaf9731f3ca47f448c484efbbf07e5b91ba4e1a72
Scroll by a bit less than a full screen in files.

Real Mono does this asymmetrically, it turns out: [SPACE] scrolls down
in such a way that the new screenful has 2 lines in common with the
old one, whereas [-] scrolls up by a little less so that you have 4
lines in common.

I can't quite bring myself to replicate _that_ oddity, so I've
compromised on 3 in both directions.
cursesclient.py