macos: show URL on OSC8 hover

This commit is contained in:
Mitchell Hashimoto
2024-07-06 10:25:12 -07:00
parent d5a23e78fe
commit cb790b8e39
6 changed files with 59 additions and 4 deletions

View File

@@ -452,6 +452,7 @@ typedef void (*ghostty_runtime_show_desktop_notification_cb)(void*,
const char*);
typedef void (
*ghostty_runtime_update_renderer_health)(void*, ghostty_renderer_health_e);
typedef void (*ghostty_runtime_mouse_over_link_cb)(void*, const char*, size_t);
typedef struct {
void* userdata;
@@ -481,6 +482,7 @@ typedef struct {
ghostty_runtime_set_cell_size_cb set_cell_size_cb;
ghostty_runtime_show_desktop_notification_cb show_desktop_notification_cb;
ghostty_runtime_update_renderer_health update_renderer_health_cb;
ghostty_runtime_mouse_over_link_cb mouse_over_link_cb;
} ghostty_runtime_config_s;
//-------------------------------------------------------------------