rename the selection search binding, unify into start_search action

This commit is contained in:
Mitchell Hashimoto
2026-01-06 14:08:34 -08:00
parent 9b6a3be993
commit 8e28f58b42
10 changed files with 15 additions and 84 deletions

View File

@@ -810,11 +810,6 @@ typedef struct {
ssize_t selected;
} ghostty_action_search_selected_s;
// apprt.action.SelectionForSearch
typedef struct {
const char* text;
} ghostty_action_selection_for_search_s;
// terminal.Scrollbar
typedef struct {
uint64_t total;
@@ -883,7 +878,6 @@ typedef enum {
GHOSTTY_ACTION_SHOW_ON_SCREEN_KEYBOARD,
GHOSTTY_ACTION_COMMAND_FINISHED,
GHOSTTY_ACTION_START_SEARCH,
GHOSTTY_ACTION_SELECTION_FOR_SEARCH,
GHOSTTY_ACTION_END_SEARCH,
GHOSTTY_ACTION_SEARCH_TOTAL,
GHOSTTY_ACTION_SEARCH_SELECTED,
@@ -925,7 +919,6 @@ typedef union {
ghostty_action_progress_report_s progress_report;
ghostty_action_command_finished_s command_finished;
ghostty_action_start_search_s start_search;
ghostty_action_selection_for_search_s selection_for_search;
ghostty_action_search_total_s search_total;
ghostty_action_search_selected_s search_selected;
ghostty_action_readonly_e readonly;