diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-02-21 22:35:43 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-02-21 22:35:43 +0000 |
| commit | a1b5862db21ab0ae52ba2e8314be46432eac5225 (patch) | |
| tree | 976f7a90e488de20fd83049858e11c41f7e487f9 /input.c | |
| parent | keymap: tab: handle all modifiers (diff) | |
scroll-up: ensure view is valid after adjusting an overshot scrollback
When we scroll up, we need to ensure that we don't scroll too far,
"past" the scrollback limit. I.e. we need to ensure we don't wrap
around.
The code did this. But, in certain scenarios, the resulting view
points into uninitialized scrollback history.
This happens when we haven't yet filled the entire scrollback, and
scroll up enough lines to wrap around the scrollback. The old code
would adjust the view for the wrap around, but doing so pointed the
view at the not-yet utilized scrollback.
Diffstat (limited to 'input.c')
0 files changed, 0 insertions, 0 deletions
