summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMitchell Hashimoto <m@mitchellh.com>2025-01-04 12:45:03 -0800
committerMitchell Hashimoto <m@mitchellh.com>2025-01-04 13:36:40 -0800
commit3e89c4c2f4203009fb03bcbb04d3c55ae98be0ee (patch)
tree79d1082d95040087fa081bf24e04402497302e38 /include
parent4031815a8db163950b97de18026003c10b41eac7 (diff)
Key events return boolean if handled
Diffstat (limited to 'include')
-rw-r--r--include/ghostty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ghostty.h b/include/ghostty.h
index b88fd9888..8af181051 100644
--- a/include/ghostty.h
+++ b/include/ghostty.h
@@ -713,7 +713,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_key(ghostty_surface_t, ghostty_input_key_s);
+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);
bool ghostty_surface_mouse_captured(ghostty_surface_t);