aboutsummaryrefslogtreecommitdiff
path: root/src/app/input/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/input/mod.rs')
-rw-r--r--src/app/input/mod.rs5
1 files changed, 4 insertions, 1 deletions
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),