diff options
Diffstat (limited to 'zellij-client/src/input_handler.rs')
-rw-r--r-- | zellij-client/src/input_handler.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zellij-client/src/input_handler.rs b/zellij-client/src/input_handler.rs index 4e2cff94c..9fa001cda 100644 --- a/zellij-client/src/input_handler.rs +++ b/zellij-client/src/input_handler.rs @@ -132,7 +132,9 @@ impl InputHandler { let mut should_break = false; match action { - Action::Quit => { + Action::Quit | Action::Detach => { + self.os_input + .send_to_server(ClientToServerMsg::Action(action)); self.exit(); should_break = true; } |