aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authorDenis Maximov <denismaximov98@gmail.com>2021-03-24 11:37:35 +0200
committerGitHub <noreply@github.com>2021-03-24 11:37:35 +0200
commitd64e814e54c52085647a053ec0bd6393e8986b19 (patch)
treecf9ceb0c4288f2d811497482c80809d90961ce7f /src/common/errors.rs
parentPerformance: only render panes that should be updated (#234) (diff)
parentwip: input_mode back in tab, not passing stuff around anymore (diff)
downloadsl0ppij-d64e814e54c52085647a053ec0bd6393e8986b19.tar.gz
sl0ppij-d64e814e54c52085647a053ec0bd6393e8986b19.tar.xz
sl0ppij-d64e814e54c52085647a053ec0bd6393e8986b19.zip
Merge pull request #235 from zellij-org/focused-pane
feature: Focused pane border coloring
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..eeebf93f 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,
}
}
}