aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/errors.rs
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-03-17 10:05:43 +0200
committerdenis <denismaximov98@gmail.com>2021-03-17 10:05:43 +0200
commit448c426c2b8ca925f2a8016171988a5c824f66d3 (patch)
tree610d3f367fc78bdf73e37343118892f78c3f05ad /src/common/errors.rs
parentwip: need to debug somehow (diff)
parentPerformance: only render panes that should be updated (#234) (diff)
downloadsl0ppij-448c426c2b8ca925f2a8016171988a5c824f66d3.tar.gz
sl0ppij-448c426c2b8ca925f2a8016171988a5c824f66d3.tar.xz
sl0ppij-448c426c2b8ca925f2a8016171988a5c824f66d3.zip
Merge branch 'main' into focused-pane
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 03aec714..df741629 100644
--- a/src/common/errors.rs
+++ b/src/common/errors.rs
@@ -198,6 +198,7 @@ pub enum ScreenContext {
SwitchTabPrev,
CloseTab,
GoToTab,
+ UpdateTabName,
}
impl From<&ScreenInstruction> for ScreenContext {
@@ -236,6 +237,7 @@ impl From<&ScreenInstruction> for ScreenContext {
ScreenInstruction::SwitchTabPrev => ScreenContext::SwitchTabPrev,
ScreenInstruction::CloseTab => ScreenContext::CloseTab,
ScreenInstruction::GoToTab(_) => ScreenContext::GoToTab,
+ ScreenInstruction::UpdateTabName(_) => ScreenContext::UpdateTabName,
}
}
}