summaryrefslogtreecommitdiff
path: root/url
diff options
context:
space:
mode:
authorTim Felgentreff <timfelgentreff@gmail.com>2026-04-29 11:30:59 +0200
committerTim Felgentreff <timfelgentreff@gmail.com>2026-04-29 12:01:55 +0200
commit064ef03881008e93699d8f3343fb19fadada68ee (patch)
treed33928c863153584455f8cbbe891da5428a77049 /url
parent10cd1e5645bbc01f1bfcdb252e1a0a03693c229c (diff)
downloadkitty-graphics-064ef03881008e93699d8f3343fb19fadada68ee.tar.gz
Render doc-view pages without mutating PDF buffers
Terminal doc-view rendering used to erase and insert padding/newlines into the doc-view buffer before placing the page image. doc-view buffers visit the original PDF, so changing buffer text marks the document modified and can corrupt it if saved. Create the Kitty/Sixel page overlay over the existing buffer contents instead. Compute the page image dimensions, prepare/cache the page image, and schedule a refresh without changing the visited PDF bytes.
Diffstat (limited to 'url')
0 files changed, 0 insertions, 0 deletions