mirror-ghostty/include/ghostty
Mitchell Hashimoto d712beff5b
libghostty: add resolved source rect for placements
Add ghostty_kitty_graphics_placement_source_rect which returns the
fully resolved and clamped source rectangle for a placement. This
applies kitty protocol semantics (width/height of 0 means full
image dimension) and clamps the result to the actual image bounds,
eliminating ~20 lines of protocol-aware logic from each embedder.
2026-04-06 12:37:13 -07:00
..
vt libghostty: add resolved source rect for placements 2026-04-06 12:37:13 -07:00
vt.h libghostty: introduce the kitty graphics opaque type 2026-04-06 08:56:23 -07:00