diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-29 18:57:13 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-06-29 18:57:13 +0300 |
| commit | 97f78226bf1f34dcdef164291a9c50fddf448c6e (patch) | |
| tree | 20f8793644f314521c6e064bef8ba4b25576524b /src/app/input/mod.rs | |
| parent | 1a4e94e57e181379e2ed42d63a49fbc56ed1dba4 (diff) | |
fix: route tui modal mutations through api authority
Diffstat (limited to 'src/app/input/mod.rs')
| -rw-r--r-- | src/app/input/mod.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/app/input/mod.rs b/src/app/input/mod.rs index 31a99c23..164c4dd4 100644 --- a/src/app/input/mod.rs +++ b/src/app/input/mod.rs @@ -45,8 +45,7 @@ mod terminal; pub(crate) use self::{ modal::{ - handle_confirm_close_key, handle_context_menu_key, handle_global_menu_key, - handle_keybind_help_key, handle_navigator_key, handle_rename_key, handle_resize_key, + handle_global_menu_key, handle_keybind_help_key, handle_navigator_key, insert_navigator_search_text, insert_rename_input_text, }, navigate::terminal_direct_navigation_action, @@ -318,6 +317,13 @@ impl App { MouseAction::SetSplitRatio { path, ratio } => { self.set_split_ratio_via_api(path, ratio) } + MouseAction::RenameModal(action) => { + self.apply_rename_mouse_action_via_api(action) + } + MouseAction::ConfirmCloseAccept => self.confirm_close_accept_via_api(), + MouseAction::ContextMenu { menu, idx } => { + self.apply_context_menu_action_via_api(menu, idx) + } } } } |
