summaryrefslogtreecommitdiffstats
path: root/zellij-client/src
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-06-19 21:49:47 +0200
committerGitHub <noreply@github.com>2022-06-19 21:49:47 +0200
commit0c24edea7f5156aa897201c0db054cd588f92a60 (patch)
treecb67c62fb8d7acfea1aaf1ac7f8b55767d666a6b /zellij-client/src
parent162f916f6a7834533abf1fdfd9f07d8204f2ddf9 (diff)
fix: dispatch various actions correctly (#1530)
Diffstat (limited to 'zellij-client/src')
-rw-r--r--zellij-client/src/input_handler.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/zellij-client/src/input_handler.rs b/zellij-client/src/input_handler.rs
index b5aaec66f..7c35fa3c6 100644
--- a/zellij-client/src/input_handler.rs
+++ b/zellij-client/src/input_handler.rs
@@ -229,13 +229,21 @@ impl InputHandler {
.send_to_server(ClientToServerMsg::DetachSession(vec![*first, *last]));
break;
},
- // Actions, that are indepenedent from the specific client
+ // Actions, that are independent from the specific client
// and not session idempotent should be specified here
Action::NewTab(_)
+ | Action::CloseFocus
+ | Action::CloseTab
| Action::Run(_)
| Action::NewPane(_)
| Action::WriteChars(_)
| Action::EditScrollback
+ | Action::DumpScreen(_)
+ | Action::ToggleActiveSyncTab
+ | Action::ToggleFloatingPanes
+ | Action::TogglePaneEmbedOrFloating
+ | Action::TogglePaneFrames
+ | Action::ToggleFocusFullscreen
| Action::Write(_) => {
let client_id = clients.first().unwrap();
log::error!("Sending action to client: {}", client_id);