Introduce reset_window_size keybinding and apprt action

Related to #6035

This implements the keybind/action portion of #5974 so that this can
have a binding and so that other apprts can respond to this and
implement it this way.
This commit is contained in:
Mitchell Hashimoto
2025-02-28 15:25:14 -08:00
parent c6485b9fd5
commit 17cae57f51
11 changed files with 65 additions and 2 deletions

View File

@@ -580,6 +580,7 @@ typedef enum {
GHOSTTY_ACTION_TOGGLE_SPLIT_ZOOM,
GHOSTTY_ACTION_PRESENT_TERMINAL,
GHOSTTY_ACTION_SIZE_LIMIT,
GHOSTTY_ACTION_RESET_WINDOW_SIZE,
GHOSTTY_ACTION_INITIAL_SIZE,
GHOSTTY_ACTION_CELL_SIZE,
GHOSTTY_ACTION_INSPECTOR,