Clear selection when IME input starts

This commit is contained in:
Bryan Lee
2025-01-12 01:48:48 +08:00
parent 2409d46600
commit af5e423ea5
3 changed files with 11 additions and 0 deletions

View File

@@ -748,6 +748,7 @@ void ghostty_surface_complete_clipboard_request(ghostty_surface_t,
bool);
bool ghostty_surface_has_selection(ghostty_surface_t);
uintptr_t ghostty_surface_selection(ghostty_surface_t, char*, uintptr_t);
void ghostty_surface_clear_selection(ghostty_surface_t);
#ifdef __APPLE__
void ghostty_surface_set_display_id(ghostty_surface_t, uint32_t);