diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-02-18 22:37:38 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:47:50 +0530 |
| commit | ef1c902be6c9d004f2f4124f7aa5b7d53fe22f17 (patch) | |
| tree | 08337574e02d7a4d953eadae2beb3f1b3b37ceae /src/common/errors.rs | |
| parent | remove command_is_executing from pty_thread (diff) | |
| download | sl0ppij-ef1c902be6c9d004f2f4124f7aa5b7d53fe22f17.tar.gz sl0ppij-ef1c902be6c9d004f2f4124f7aa5b7d53fe22f17.tar.xz sl0ppij-ef1c902be6c9d004f2f4124f7aa5b7d53fe22f17.zip | |
Introduce DoneCLosingPane message to ensure atomicity in state change
Diffstat (limited to 'src/common/errors.rs')
| -rw-r--r-- | src/common/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs index 1cdff574..fcb37482 100644 --- a/src/common/errors.rs +++ b/src/common/errors.rs @@ -327,6 +327,7 @@ pub enum AppContext { ToPty, ToPlugin, ToScreen, + DoneClosingPane, } impl From<&AppInstruction> for AppContext { @@ -337,6 +338,7 @@ impl From<&AppInstruction> for AppContext { AppInstruction::ToPty(_) => AppContext::ToPty, AppInstruction::ToPlugin(_) => AppContext::ToPlugin, AppInstruction::ToScreen(_) => AppContext::ToScreen, + AppInstruction::DoneClosingPane => AppContext::DoneClosingPane, } } } |
