From e298e4589050349630d0faaec00ef11555b83ae1 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 18 Jul 2026 01:55:46 +0300 Subject: feat: add optional workspace name prompt --- src/app/input/mod.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/app/input/mod.rs') diff --git a/src/app/input/mod.rs b/src/app/input/mod.rs index 73ddbefd..c17f64cd 100644 --- a/src/app/input/mod.rs +++ b/src/app/input/mod.rs @@ -49,7 +49,7 @@ mod terminal; pub(crate) use self::{ modal::{ handle_global_menu_key, handle_keybind_help_key, handle_navigator_key, - insert_navigator_search_text, insert_rename_input_text, + insert_navigator_search_text, insert_rename_input_text, open_new_workspace_dialog, }, navigate::{ terminal_direct_indexed_navigation_action, terminal_direct_non_indexed_navigation_action, @@ -313,6 +313,9 @@ impl App { } if let Some(action) = self.state.handle_mouse(&mut self.terminal_runtimes, mouse) { match action { + MouseAction::NewWorkspace => { + self.begin_tui_workspace_create("tui.mouse.workspace.create") + } MouseAction::Settings(action) => match action { SettingsAction::SaveTheme(name) => self.save_theme(&name), SettingsAction::SaveSound(enabled) => self.save_sound(enabled), -- cgit v1.2.3