diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-10 17:18:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-10 17:18:53 +0000 |
| commit | e4a631f7f097426e70d24e3a2ec50f7626ae860f (patch) | |
| tree | 62759dd3093e9851c6406f4fa2281c6066ebcd8a /selection.c | |
| parent | terminal: scrolling: better debug log messages (diff) | |
terminal: scrolling: prefetch cells of scrolled in lines
Since newly scrolled in lines will be erased, we want them in the
cache.
So, allocate and prefetch new lines, then repair non-scrolling
regions (to give the prefetch time to actually fetch the
data). Finally, erase the newly scrolled in lines.
This also fixes a bug where the fixup for the non-scrolling regions
could crash on an unallocated row (we were accessing rows that would
be, but hadn't yet been, scrolled in).
Diffstat (limited to 'selection.c')
0 files changed, 0 insertions, 0 deletions
