diff options
| author | Gregory Anders <greg@gpanders.com> | 2023-11-07 16:15:46 -0600 |
|---|---|---|
| committer | Gregory Anders <greg@gpanders.com> | 2023-11-07 16:23:28 -0600 |
| commit | cd01340cce63ebfdd1bc7fb331f97f37580f87a2 (patch) | |
| tree | e2327edafbe21db4b3c02d4e86b88b6f7ef16463 /include | |
| parent | 36dd5ef4ee8d413a812c9e390f369fb59163164c (diff) | |
macos: add key binding for equalizing split sizes
Diffstat (limited to 'include')
| -rw-r--r-- | include/ghostty.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ghostty.h b/include/ghostty.h index 4bb31d655..ac1077092 100644 --- a/include/ghostty.h +++ b/include/ghostty.h @@ -341,6 +341,7 @@ typedef void (*ghostty_runtime_control_inspector_cb)(void *, ghostty_inspector_m typedef void (*ghostty_runtime_close_surface_cb)(void *, bool); typedef void (*ghostty_runtime_focus_split_cb)(void *, ghostty_split_focus_direction_e); typedef void (*ghostty_runtime_resize_split_cb)(void *, ghostty_split_resize_direction_e, uint16_t); +typedef void (*ghostty_runtime_equalize_splits_cb)(void *); typedef void (*ghostty_runtime_toggle_split_zoom_cb)(void *); typedef void (*ghostty_runtime_goto_tab_cb)(void *, int32_t); typedef void (*ghostty_runtime_toggle_fullscreen_cb)(void *, ghostty_non_native_fullscreen_e); @@ -366,6 +367,7 @@ typedef struct { ghostty_runtime_close_surface_cb close_surface_cb; ghostty_runtime_focus_split_cb focus_split_cb; ghostty_runtime_resize_split_cb resize_split_cb; + ghostty_runtime_equalize_splits_cb equalize_splits_cb; ghostty_runtime_toggle_split_zoom_cb toggle_split_zoom_cb; ghostty_runtime_goto_tab_cb goto_tab_cb; ghostty_runtime_toggle_fullscreen_cb toggle_fullscreen_cb; @@ -422,6 +424,7 @@ void ghostty_surface_request_close(ghostty_surface_t); void ghostty_surface_split(ghostty_surface_t, ghostty_split_direction_e); void ghostty_surface_split_focus(ghostty_surface_t, ghostty_split_focus_direction_e); void ghostty_surface_split_resize(ghostty_surface_t, ghostty_split_resize_direction_e, uint16_t); +void ghostty_surface_split_equalize(ghostty_surface_t); bool ghostty_surface_binding_action(ghostty_surface_t, const char *, uintptr_t); void ghostty_surface_complete_clipboard_request(ghostty_surface_t, const char *, void *, bool); |
