diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2021-05-16 12:44:56 +0200 |
|---|---|---|
| committer | a-kenji <aks.kenji@protonmail.com> | 2021-05-16 12:44:56 +0200 |
| commit | 197f31875646a5b78abd23edecee072931b2b14b (patch) | |
| tree | a8fb17d057d77c0a5090c5e1878ecd5618ec592d /src/common/input | |
| parent | Split Layout Flag (diff) | |
| parent | Docs(changelog): Multiprocess model #499 (diff) | |
| download | sl0ppij-197f31875646a5b78abd23edecee072931b2b14b.tar.gz sl0ppij-197f31875646a5b78abd23edecee072931b2b14b.tar.xz sl0ppij-197f31875646a5b78abd23edecee072931b2b14b.zip | |
Merge branch 'main' of https://github.com/zellij-org/zellij into layout-path-506
Diffstat (limited to 'src/common/input')
| -rw-r--r-- | src/common/input/handler.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/input/handler.rs b/src/common/input/handler.rs index b2f4d0a3..4ac2cf83 100644 --- a/src/common/input/handler.rs +++ b/src/common/input/handler.rs @@ -4,10 +4,10 @@ use super::actions::Action; use super::keybinds::Keybinds; use crate::client::ClientInstruction; use crate::common::input::config::Config; +use crate::common::ipc::ClientToServerMsg; use crate::common::thread_bus::{SenderWithContext, OPENCALLS}; use crate::errors::ContextType; use crate::os_input_output::ClientOsApi; -use crate::server::ServerInstruction; use crate::CommandIsExecuting; use termion::input::{TermRead, TermReadEventsAndRaw}; @@ -139,7 +139,7 @@ impl InputHandler { Action::SwitchToMode(mode) => { self.mode = mode; self.os_input - .send_to_server(ServerInstruction::Action(action)); + .send_to_server(ClientToServerMsg::Action(action)); } Action::CloseFocus | Action::NewPane(_) @@ -151,13 +151,13 @@ impl InputHandler { | Action::MoveFocusOrTab(_) => { self.command_is_executing.blocking_input_thread(); self.os_input - .send_to_server(ServerInstruction::Action(action)); + .send_to_server(ClientToServerMsg::Action(action)); self.command_is_executing .wait_until_input_thread_is_unblocked(); } _ => self .os_input - .send_to_server(ServerInstruction::Action(action)), + .send_to_server(ClientToServerMsg::Action(action)), } should_break |
