mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-29 16:25:20 +00:00
Add modes.h with GhosttyModeTag, a uint16_t typedef matching the Zig ModeTag packed struct layout (bits 0-14 for the mode value, bit 15 for the ANSI flag). Three inline helper functions provide construction and inspection: ghostty_mode_tag_new, ghostty_mode_tag_value, and ghostty_mode_tag_ansi.