fix C ABI compat for ghostty_quick_terminal_size_tag_e

pull/9837/head
voideanvalue 2025-12-06 22:17:33 +00:00
parent 08c9661683
commit aa0afa2d02
1 changed files with 2 additions and 1 deletions

View File

@ -7987,7 +7987,8 @@ pub const QuickTerminalSize = struct {
tag: Tag,
value: Value,
pub const Tag = enum(u8) { none, percentage, pixels };
/// c_int because it needs to be extern compatible
pub const Tag = enum(c_int) { none, percentage, pixels };
pub const Value = extern union {
percentage: f32,