diff options
| author | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2023-03-16 15:07:44 -0700 |
|---|---|---|
| committer | Mitchell Hashimoto <mitchell.hashimoto@gmail.com> | 2023-03-19 09:50:54 -0700 |
| commit | a5cfd4b04b857bf65fb70513c1a56053aa4e5ffa (patch) | |
| tree | df49381257cec78f98c01401069115f9ff8c51ea /include | |
| parent | 8d3f40fa41d996a9a2af71da1fe5de82e6a84260 (diff) | |
ghostty.h: add missing reload callback
Diffstat (limited to 'include')
| -rw-r--r-- | include/ghostty.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |
