Add config color palette C bindings

C bindings to expose the color palette to Swift for macOS.
This commit is contained in:
Friedrich Stoltzfus
2025-04-25 14:10:35 -04:00
parent 4e91d11a60
commit 77f5fc34f1
2 changed files with 23 additions and 0 deletions

View File

@@ -357,6 +357,11 @@ typedef struct {
size_t len;
} ghostty_config_color_list_s;
// config.Palette
typedef struct {
ghostty_config_color_s colors[256];
} ghostty_config_palette_s;
// apprt.Target.Key
typedef enum {
GHOSTTY_TARGET_APP,