fix: dispatch various actions correctly (#1530)
This commit is contained in:
parent
162f916f6a
commit
0c24edea7f
1 changed files with 9 additions and 1 deletions
|
|
@ -229,13 +229,21 @@ impl InputHandler {
|
||||||
.send_to_server(ClientToServerMsg::DetachSession(vec![*first, *last]));
|
.send_to_server(ClientToServerMsg::DetachSession(vec![*first, *last]));
|
||||||
break;
|
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
|
// and not session idempotent should be specified here
|
||||||
Action::NewTab(_)
|
Action::NewTab(_)
|
||||||
|
| Action::CloseFocus
|
||||||
|
| Action::CloseTab
|
||||||
| Action::Run(_)
|
| Action::Run(_)
|
||||||
| Action::NewPane(_)
|
| Action::NewPane(_)
|
||||||
| Action::WriteChars(_)
|
| Action::WriteChars(_)
|
||||||
| Action::EditScrollback
|
| Action::EditScrollback
|
||||||
|
| Action::DumpScreen(_)
|
||||||
|
| Action::ToggleActiveSyncTab
|
||||||
|
| Action::ToggleFloatingPanes
|
||||||
|
| Action::TogglePaneEmbedOrFloating
|
||||||
|
| Action::TogglePaneFrames
|
||||||
|
| Action::ToggleFocusFullscreen
|
||||||
| Action::Write(_) => {
|
| Action::Write(_) => {
|
||||||
let client_id = clients.first().unwrap();
|
let client_id = clients.first().unwrap();
|
||||||
log::error!("Sending action to client: {}", client_id);
|
log::error!("Sending action to client: {}", client_id);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue