mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 09:16:11 +03:00
cli/gtk: add some more C bits
This commit is contained in:
@ -803,6 +803,21 @@ typedef struct {
|
|||||||
ghostty_runtime_close_surface_cb close_surface_cb;
|
ghostty_runtime_close_surface_cb close_surface_cb;
|
||||||
} ghostty_runtime_config_s;
|
} 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
|
// apprt.ipc.Action.NewWindow
|
||||||
typedef struct {
|
typedef struct {
|
||||||
// This should be a null terminated list of strings.
|
// This should be a null terminated list of strings.
|
||||||
|
Reference in New Issue
Block a user