mirror-ghostty/include/ghostty/vt
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
..
key lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
mouse lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
allocator.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
build_info.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
color.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
device.h vt: expose device_attributes effect in the C API 2026-03-24 11:32:52 -07:00
focus.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
formatter.h libghostty: add placement_rect and centralize opaque typedefs 2026-04-06 09:58:32 -07:00
grid_ref.h libghostty: add hyperlink URI accessor to grid_ref API 2026-04-04 20:28:13 -07:00
key.h example: rename some examples 2026-03-17 17:39:26 -07:00
kitty_graphics.h libghostty: add resolved source rect for placements 2026-04-06 12:37:13 -07:00
modes.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
mouse.h example: rename some examples 2026-03-17 17:39:26 -07:00
osc.h libghostty: add placement_rect and centralize opaque typedefs 2026-04-06 09:58:32 -07:00
paste.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
point.h terminal: convert Point to lib.Enum/lib.TaggedUnion with C header 2026-03-19 14:01:11 -07:00
render.h libghostty: add placement_rect and centralize opaque typedefs 2026-04-06 09:58:32 -07:00
screen.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
selection.h libghostty: add GhosttySelection type and selection support to formatter 2026-04-04 20:38:05 -07:00
sgr.h libghostty: add placement_rect and centralize opaque typedefs 2026-04-06 09:58:32 -07:00
size_report.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
style.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00
sys.h example: add c-vt-kitty-graphics 2026-04-06 08:05:29 -07:00
terminal.h libghostty: add ghostty_terminal_point_from_grid_ref 2026-04-06 10:49:32 -07:00
types.h libghostty: add placement_rect and centralize opaque typedefs 2026-04-06 09:58:32 -07:00
wasm.h lib: rename GHOSTTY_EXPORT to GHOSTTY_API 2026-03-30 10:26:32 -07:00