cli/gtk: add some more C bits

pull/7896/head
Jeffrey C. Ollie 2025-07-13 22:07:38 -05:00
parent 81358c8dca
commit 58867b0717
No known key found for this signature in database
GPG Key ID: 6F86035A6D97044E
1 changed files with 15 additions and 0 deletions

View File

@ -803,6 +803,21 @@ typedef struct {
ghostty_runtime_close_surface_cb close_surface_cb;
} ghostty_runtime_config_s;
// apprt.ipc.Target.Key
typedef enum {
GHOSTTY_IPC_TARGET_CLASS,
GHOSTTY_IPC_TARGET_DETECT,
} ghostty_ipc_target_tag_e;
typedef union {
char *klass;
} ghostty_ipc_target_u;
typedef struct {
ghostty_ipc_target_tag_e tag;
ghostty_ipc_target_u target;
} chostty_ipc_target_s;
// apprt.ipc.Action.NewWindow
typedef struct {
// This should be a null terminated list of strings.