aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-03-31 14:32:54 +0300
committerdenis <denismaximov98@gmail.com>2021-03-31 14:32:54 +0300
commitb8ee02d4bbb9a8af2fc89bab920fa1a92c2ab9b4 (patch)
tree2c59a82d428443b03ce9f0ff105a2531ca3f0d3e /src/common/errors.rs
parentwip: need to set the default for Palette in the plugins (diff)
parentfix(plugin): send mode updates to subscribed plugins on load (diff)
downloadsl0ppij-b8ee02d4bbb9a8af2fc89bab920fa1a92c2ab9b4.tar.gz
sl0ppij-b8ee02d4bbb9a8af2fc89bab920fa1a92c2ab9b4.tar.xz
sl0ppij-b8ee02d4bbb9a8af2fc89bab920fa1a92c2ab9b4.zip
wip: does it take too long to load colors from xrdb?
Diffstat (limited to 'src/common/errors.rs')
-rw-r--r--src/common/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs
index f5aeae85..56bf27f4 100644
--- a/src/common/errors.rs
+++ b/src/common/errors.rs
@@ -200,7 +200,7 @@ pub enum ScreenContext {
CloseTab,
GoToTab,
UpdateTabName,
- ChangeInputMode,
+ ChangeMode,
}
// FIXME: Just deriving EnumDiscriminants from strum will remove the need for any of this!!!
@@ -241,7 +241,7 @@ impl From<&ScreenInstruction> for ScreenContext {
ScreenInstruction::CloseTab => ScreenContext::CloseTab,
ScreenInstruction::GoToTab(_) => ScreenContext::GoToTab,
ScreenInstruction::UpdateTabName(_) => ScreenContext::UpdateTabName,
- ScreenInstruction::ChangeInputMode(_) => ScreenContext::ChangeInputMode,
+ ScreenInstruction::ChangeMode(_) => ScreenContext::ChangeMode,
}
}
}