summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorcashmere <cashmere@autistici.org>2026-03-20 18:39:25 +0100
committercashmere <cashmere@autistici.org>2026-03-20 18:39:25 +0100
commitfab72f4962d992fff5818b11d195c18b715eb9b8 (patch)
treedc594ff6838458e722b5a1b4d95ea0c17e4e78e2 /tests
parentaf41db8b92739bbbb273d08d1a8426cc8a08f4a5 (diff)
downloadkitty-graphics-fab72f4962d992fff5818b11d195c18b715eb9b8.tar.gz
fix: force redisplay before position queries to fix initial image placement
After org-toggle-inline-images creates overlays with multi-line display properties, posn-at-point still sees pre-overlay layout because Emacs hasn't recomputed pixel positions yet. This caused images to appear ~4 rows too low on initial render (scrolling would fix it). Adding (redisplay t) at the start of kitty-gfx--refresh forces a full layout recomputation so position queries return correct values immediately. Also includes: simplified column calculation using window-body-edges, stderr suppression in call-process, debug state inspection commands, and ImageMagick binary preference fixes.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions