libghostty: add API for getting commands

This commit is contained in:
Mitchell Hashimoto
2025-04-19 13:22:36 -07:00
parent a34134e643
commit 8615dfb73d
2 changed files with 18 additions and 0 deletions

View File

@@ -730,6 +730,7 @@ void ghostty_surface_set_color_scheme(ghostty_surface_t,
ghostty_color_scheme_e);
ghostty_input_mods_e ghostty_surface_key_translation_mods(ghostty_surface_t,
ghostty_input_mods_e);
void ghostty_surface_commands(ghostty_surface_t, ghostty_command_s**, size_t*);
bool ghostty_surface_key(ghostty_surface_t, ghostty_input_key_s);
bool ghostty_surface_key_is_binding(ghostty_surface_t, ghostty_input_key_s);
void ghostty_surface_text(ghostty_surface_t, const char*, uintptr_t);