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. |
||
|---|---|---|
| .. | ||
| ghostty | ||
| ghostty.h | ||
| module.modulemap | ||