summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-04-19 13:22:36 -0700
committerMitchell Hashimoto <m@mitchellh.com>2025-04-21 08:32:05 -0700
commit8615dfb73de79cb8e31d8217ea1cf8fe2e5bc7bb (patch)
tree8476d4cc02450ed60447c4e6a25a02b39a960fe1 /include
parenta34134e643abe2a9ccc1c79b84a5b0fe6e5b2095 (diff)
libghostty: add API for getting commands
Diffstat (limited to 'include')
-rw-r--r--include/ghostty.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ghostty.h b/include/ghostty.h
index 06b812948..05e15c54f 100644
--- a/include/ghostty.h
+++ b/include/ghostty.h
@@ -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);