input: defind Command struct and default commands

This commit is contained in:
Mitchell Hashimoto
2025-04-19 12:41:22 -07:00
parent be7fb45e9f
commit a34134e643
4 changed files with 401 additions and 9 deletions

View File

@@ -279,6 +279,12 @@ typedef struct {
ghostty_input_mods_e mods;
} ghostty_input_trigger_s;
typedef struct {
const char* action;
const char* title;
const char* description;
} ghostty_command_s;
typedef enum {
GHOSTTY_BUILD_MODE_DEBUG,
GHOSTTY_BUILD_MODE_RELEASE_SAFE,