aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-03-20 16:54:18 +0200
committerdenis <denismaximov98@gmail.com>2021-03-20 16:54:18 +0200
commit021c8608c8d8a0cd43328d9c0bede5259bd14261 (patch)
treee51b4ac728b573c01e71905815097a03ecfda7e0 /src/common/errors.rs
parentwip: active pane color, able to type / not able to type inside a pane distinc... (diff)
downloadsl0ppij-021c8608c8d8a0cd43328d9c0bede5259bd14261.tar.gz
sl0ppij-021c8608c8d8a0cd43328d9c0bede5259bd14261.tar.xz
sl0ppij-021c8608c8d8a0cd43328d9c0bede5259bd14261.zip
wip: not sure about updating the input_mode and tab switches for now
Diffstat (limited to 'src/common/errors.rs')
-rw-r--r--src/common/errors.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs
index df741629..a2e05e30 100644
--- a/src/common/errors.rs
+++ b/src/common/errors.rs
@@ -199,6 +199,7 @@ pub enum ScreenContext {
CloseTab,
GoToTab,
UpdateTabName,
+ ChangeInputMode
}
impl From<&ScreenInstruction> for ScreenContext {
@@ -238,6 +239,7 @@ impl From<&ScreenInstruction> for ScreenContext {
ScreenInstruction::CloseTab => ScreenContext::CloseTab,
ScreenInstruction::GoToTab(_) => ScreenContext::GoToTab,
ScreenInstruction::UpdateTabName(_) => ScreenContext::UpdateTabName,
+ ScreenInstruction::ChangeInputMode(_) => ScreenContext::ChangeInputMode
}
}
}