mirror of
https://github.com/zellij-org/zellij.git
synced 2024-12-25 18:21:51 +03:00
Sending the action Action::Detach to the server
This commit is contained in:
parent
18adbcc1b1
commit
e7fc0e3ff9
@ -210,11 +210,9 @@ pub fn start_client(
|
||||
}
|
||||
}),
|
||||
Box::new({
|
||||
let send_client_instructions = send_client_instructions.clone();
|
||||
let os_api = os_input.clone();
|
||||
move || {
|
||||
send_client_instructions
|
||||
.send(ClientInstruction::Exit(ExitReason::ForceDetached))
|
||||
.unwrap()
|
||||
os_api.send_to_server(ClientToServerMsg::Action(Action::Detach));
|
||||
}
|
||||
}),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user