aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/handler.rs
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-04-29 15:25:55 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:48:16 +0530
commit9110e444b8ef2f96a0386b7c5e65283a2b5456c0 (patch)
tree8ee2bd3e08f0b8a3594a9de6ac942056042e315d /src/common/input/handler.rs
parentRefactor CommandIsExecuting to have a single variant (diff)
downloadsl0ppij-9110e444b8ef2f96a0386b7c5e65283a2b5456c0.tar.gz
sl0ppij-9110e444b8ef2f96a0386b7c5e65283a2b5456c0.tar.xz
sl0ppij-9110e444b8ef2f96a0386b7c5e65283a2b5456c0.zip
remove Split, OpenFile and MoveFocus from CliArgs
Diffstat (limited to 'src/common/input/handler.rs')
-rw-r--r--src/common/input/handler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/input/handler.rs b/src/common/input/handler.rs
index 64e4fbe3..7a4a4e52 100644
--- a/src/common/input/handler.rs
+++ b/src/common/input/handler.rs
@@ -112,7 +112,7 @@ impl InputHandler {
Action::SwitchToMode(mode) => {
self.mode = mode;
self.os_input
- .send_to_server(ServerInstruction::Action(action.clone()));
+ .send_to_server(ServerInstruction::Action(action));
}
Action::CloseFocus
| Action::NewPane(_)