diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-02-18 13:29:11 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:47:49 +0530 |
| commit | 5ece7f44ccfcbecbbc7dd2ce1ae3fb377e84ccbc (patch) | |
| tree | 30a20a9cc77decbb1f901a67ef6ca836fc87dbff /src/common/errors.rs | |
| parent | ensure proper shutdown (diff) | |
| download | sl0ppij-5ece7f44ccfcbecbbc7dd2ce1ae3fb377e84ccbc.tar.gz sl0ppij-5ece7f44ccfcbecbbc7dd2ce1ae3fb377e84ccbc.tar.xz sl0ppij-5ece7f44ccfcbecbbc7dd2ce1ae3fb377e84ccbc.zip | |
Use IPC for Server to client as well
Add router thread
Diffstat (limited to 'src/common/errors.rs')
| -rw-r--r-- | src/common/errors.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs index a9156ae6..1cdff574 100644 --- a/src/common/errors.rs +++ b/src/common/errors.rs @@ -194,7 +194,7 @@ pub enum ScreenContext { MoveFocusDown, MoveFocusUp, MoveFocusRight, - Quit, + Exit, ScrollUp, ScrollDown, PageScrollUp, @@ -239,7 +239,7 @@ impl From<&ScreenInstruction> for ScreenContext { ScreenInstruction::MoveFocusDown => ScreenContext::MoveFocusDown, ScreenInstruction::MoveFocusUp => ScreenContext::MoveFocusUp, ScreenInstruction::MoveFocusRight => ScreenContext::MoveFocusRight, - ScreenInstruction::Quit => ScreenContext::Quit, + ScreenInstruction::Exit => ScreenContext::Exit, ScreenInstruction::ScrollUp => ScreenContext::ScrollUp, ScreenInstruction::ScrollDown => ScreenContext::ScrollDown, ScreenInstruction::PageScrollUp => ScreenContext::PageScrollUp, @@ -276,7 +276,7 @@ pub enum PtyContext { NewTab, ClosePane, CloseTab, - Quit, + Exit, } impl From<&PtyInstruction> for PtyContext { @@ -288,7 +288,7 @@ impl From<&PtyInstruction> for PtyContext { PtyInstruction::ClosePane(_) => PtyContext::ClosePane, PtyInstruction::CloseTab(_) => PtyContext::CloseTab, PtyInstruction::NewTab => PtyContext::NewTab, - PtyInstruction::Quit => PtyContext::Quit, + PtyInstruction::Exit => PtyContext::Exit, } } } @@ -304,7 +304,7 @@ pub enum PluginContext { Update, Render, Unload, - Quit, + Exit, } impl From<&PluginInstruction> for PluginContext { @@ -314,7 +314,7 @@ impl From<&PluginInstruction> for PluginContext { PluginInstruction::Update(..) => PluginContext::Update, PluginInstruction::Render(..) => PluginContext::Render, PluginInstruction::Unload(_) => PluginContext::Unload, - PluginInstruction::Quit => PluginContext::Quit, + PluginInstruction::Exit => PluginContext::Exit, } } } |
