mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-29 16:25:20 +00:00
Add a size field as the first member of formatter option structs (TerminalOptions, TerminalOptions.Extra, ScreenOptions.Extra) for ABI compatibility. This allows adding new fields without breaking callers compiled against older versions of the struct. Introduce include/ghostty/vt/types.h as the foundational header containing GhosttyResult and the GHOSTTY_INIT_SIZED macro for zero-initializing sized structs. Remove the separate result.h header, moving its contents into types.h.