macos: implement ctrl+command+d for quicklook under cursor

This commit is contained in:
Mitchell Hashimoto
2024-07-01 10:05:05 -07:00
parent 85b8d87966
commit 7fbc73ad37
4 changed files with 91 additions and 2 deletions

View File

@@ -565,6 +565,10 @@ uintptr_t ghostty_surface_selection(ghostty_surface_t, char*, uintptr_t);
#ifdef __APPLE__
void ghostty_surface_set_display_id(ghostty_surface_t, uint32_t);
void* ghostty_surface_quicklook_font(ghostty_surface_t);
uintptr_t ghostty_surface_quicklook_word(ghostty_surface_t,
char*,
uintptr_t,
ghostty_selection_s*);
bool ghostty_surface_selection_info(ghostty_surface_t, ghostty_selection_s*);
#endif