fix C ABI compat for ghostty_quick_terminal_size_tag_e

This commit is contained in:
voideanvalue
2025-12-06 22:17:33 +00:00
parent 08c9661683
commit aa0afa2d02

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,