summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2024-07-01 10:05:05 -0700
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2024-07-01 10:08:38 -0700
commit7fbc73ad374d93ea6aed227021fa649be54dcd48 (patch)
treebd2ffb95aef5a98f29deb6cf422fc9a18a3c9095 /include
parent85b8d87966d2c108baa0ff7a2918c6f2f0bb99ad (diff)
macos: implement ctrl+command+d for quicklook under cursor
Diffstat (limited to 'include')
-rw-r--r--include/ghostty.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ghostty.h b/include/ghostty.h
index a082d1a6a..04233287f 100644
--- a/include/ghostty.h
+++ b/include/ghostty.h
@@ -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