mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-14 03:25:50 +00:00
Expose the terminal Style struct to the C API as GhosttyStyle, a sized struct with foreground, background, and underline colors (as tagged unions) plus boolean text decoration flags. Add ghostty_style_default() to obtain the default style and ghostty_style_is_default() to check whether a style has all default values. Wire both through c/style.zig, main.zig, and lib_vt.zig with the corresponding header in vt/style.h.