diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-06-28 12:24:30 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-06-28 12:24:30 +0000 |
| commit | aa1951a4d28789426aca2702f6dfce642e3b3d04 (patch) | |
| tree | c271fd732828d4b1e6000646bb920e510bb8a856 /render.c | |
| parent | render: sixel: regression: need to take current offset into account when early-quitting sixel ren... (diff) | |
sixel: overwrite-by-row: optimize: break out of loop as soon as possible
Since the images are sorted, we can break out of the loop as soon as
we detect an image that *ends before* the row we're looking for.
In order for the row comparisons to work, the row numbers must be
re-based against the current scrollback offset, or the
scrollback *end*, to be precise.
Diffstat (limited to 'render.c')
0 files changed, 0 insertions, 0 deletions
