mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 14:00:29 +00:00
vt: expand padding for color union to 64-bit to allow for a pointer
This commit is contained in:
@@ -52,7 +52,7 @@ typedef enum {
|
||||
typedef union {
|
||||
GhosttyColorPaletteIndex palette;
|
||||
GhosttyColorRgb rgb;
|
||||
uint32_t _padding;
|
||||
uint64_t _padding;
|
||||
} GhosttyStyleColorValue;
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,7 +16,7 @@ pub const ColorTag = enum(c_int) {
|
||||
pub const ColorValue = extern union {
|
||||
palette: u8,
|
||||
rgb: color.RGB.C,
|
||||
_padding: u32,
|
||||
_padding: u64,
|
||||
};
|
||||
|
||||
/// C: GhosttyStyleColor
|
||||
|
||||
Reference in New Issue
Block a user