Files
tmux/regress
Michael Grant 2a535f7d82 image: keep the scrolled-off portion of a placement instead of discarding it
image_write() handles an image taller than the pane by scrolling the
screen up to make room, but only ever created spans for the rows that
ended up on screen afterwards - the rows immediately scrolled off (up to
origin_y of them) were pushed into history as blank, spanless rows and
that part of the image was permanently discarded. Unlike width, which has
no "scroll right" to recover a permanent clip, height already has
ordinary scrollback, so this was pure waste: scrolling back up just
showed empty space where part of the image used to be.

image_write() now also calls image_extend_row() for those origin_y rows,
capped to however many real history rows screen_write_scrollup() actually
created (it clamps its own request to one scroll-region height per call,
so a single call may not push everywhere origin_y implies - looping it
until the full amount is pushed, done here too, makes that gap rare, but
the cap keeps the fill-in safe even if it isn't).
2026-08-25 11:24:14 +01:00
..
2026-07-24 09:49:32 +01:00
2026-07-13 22:08:58 +01:00
2025-12-07 22:11:45 +00:00
2026-07-14 12:05:06 +01:00
2026-08-03 09:53:50 +01:00
2019-04-02 09:44:28 +01:00
2026-07-19 20:58:20 +01:00
2026-07-08 12:36:19 +01:00
2026-07-13 22:52:25 +01:00
2026-07-28 08:08:26 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-21 08:00:39 +01:00
2026-07-26 10:21:01 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-09 09:39:44 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-12 20:59:11 +01:00
2026-08-20 10:19:19 +01:00
2026-07-22 20:24:21 +01:00
2026-07-23 08:06:09 +01:00
2026-07-23 08:06:09 +01:00
2026-08-20 09:18:58 +01:00
2026-08-05 08:26:10 +01:00
2026-07-26 16:08:58 +01:00
2026-07-12 23:18:47 +01:00
2026-07-14 22:09:52 +01:00
2026-07-13 07:08:05 +01:00
2026-07-28 08:08:26 +01:00
2026-07-23 08:06:09 +01:00
2026-07-19 18:34:18 +01:00
2026-08-20 09:18:58 +01:00