aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input/handler.rs
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-03-30 14:17:16 +0300
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:48:14 +0530
commitee14d5f5ddb75ad6062e978e789f234e8dc09858 (patch)
treea27f99aefbb036ceafdbce0207e5d599893a42ea /src/common/input/handler.rs
parentclient side threads should send messages directly to server and router thread... (diff)
downloadsl0ppij-ee14d5f5ddb75ad6062e978e789f234e8dc09858.tar.gz
sl0ppij-ee14d5f5ddb75ad6062e978e789f234e8dc09858.tar.xz
sl0ppij-ee14d5f5ddb75ad6062e978e789f234e8dc09858.zip
wip: helper functions for ServerInstruction
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 09cc1a0d..d4ae3080 100644
--- a/src/common/input/handler.rs
+++ b/src/common/input/handler.rs
@@ -241,7 +241,7 @@ impl InputHandler {
Action::NewTab => {
self.command_is_executing.updating_tabs();
self.os_input
- .send_to_server(ServerInstruction::ToPty(PtyInstruction::NewTab));
+ .send_to_server(ServerInstruction::pty_new_tab());
self.command_is_executing.wait_until_tabs_are_updated();
}
Action::GoToNextTab => {