From a5cfd4b04b857bf65fb70513c1a56053aa4e5ffa Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 16 Mar 2023 15:07:44 -0700 Subject: [PATCH] ghostty.h: add missing reload callback --- include/ghostty.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ghostty.h b/include/ghostty.h index 1f06ea2f5..00c43b532 100644 --- a/include/ghostty.h +++ b/include/ghostty.h @@ -216,6 +216,7 @@ typedef struct { } ghostty_surface_config_s; typedef void (*ghostty_runtime_wakeup_cb)(void *); +typedef const ghostty_config_t (*ghostty_runtime_reload_config_cb)(void *); typedef void (*ghostty_runtime_set_title_cb)(void *, const char *); typedef const char* (*ghostty_runtime_read_clipboard_cb)(void *); typedef void (*ghostty_runtime_write_clipboard_cb)(void *, const char *); @@ -226,6 +227,7 @@ typedef void (*ghostty_runtime_focus_split_cb)(void *, ghostty_split_focus_direc typedef struct { void *userdata; ghostty_runtime_wakeup_cb wakeup_cb; + ghostty_runtime_reload_config_cb reload_config_cb; ghostty_runtime_set_title_cb set_title_cb; ghostty_runtime_read_clipboard_cb read_clipboard_cb; ghostty_runtime_write_clipboard_cb write_clipboard_cb;