diff options
author | Jae-Heon Ji <32578710+jaeheonji@users.noreply.github.com> | 2022-02-23 23:50:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-23 23:50:49 +0900 |
commit | a489194b55817b68213618fa81718b7beae9eba0 (patch) | |
tree | 0cf7c6182028583e81b7cdcd69479274c4cbb819 /zellij-utils/src | |
parent | 39eddd8b1c31eb6932163841bda18a82044e4700 (diff) |
fix: invalid assignment of `client_id` (#1052)
* feat: sync socket connection in
* chore: apply clippy
* chore: change message name
Diffstat (limited to 'zellij-utils/src')
-rw-r--r-- | zellij-utils/src/errors.rs | 2 | ||||
-rw-r--r-- | zellij-utils/src/ipc.rs | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs index ea8033e50..7ac0df85c 100644 --- a/zellij-utils/src/errors.rs +++ b/zellij-utils/src/errors.rs @@ -311,6 +311,7 @@ pub enum ClientContext { Render, ServerError, SwitchToMode, + Connected, } /// Stack call representations corresponding to the different types of [`ServerInstruction`]s. @@ -325,4 +326,5 @@ pub enum ServerContext { KillSession, DetachSession, AttachClient, + ConnStatus, } diff --git a/zellij-utils/src/ipc.rs b/zellij-utils/src/ipc.rs index 2716dd3cc..231c5ecd4 100644 --- a/zellij-utils/src/ipc.rs +++ b/zellij-utils/src/ipc.rs @@ -69,6 +69,7 @@ pub enum ClientToServerMsg { Action(Action), ClientExited, KillSession, + ConnStatus, } // Types of messages sent from the server to the client @@ -82,6 +83,7 @@ pub enum ServerToClientMsg { UnblockInputThread, Exit(ExitReason), SwitchToMode(InputMode), + Connected, } #[derive(Serialize, Deserialize, Debug, Clone)] |