diff options
| author | denis <denismaximov98@gmail.com> | 2021-01-29 06:24:59 +0200 |
|---|---|---|
| committer | denis <denismaximov98@gmail.com> | 2021-01-29 06:24:59 +0200 |
| commit | 6a3481f54f0ee789ceeb994d8f302e3ce119c031 (patch) | |
| tree | 60d4ad8d08c2349571d29d68c357ac07c6acce63 /src/common/errors.rs | |
| parent | wip: oops shouldn't forget that (diff) | |
| parent | feat(statusbar): max status bar height (#156) (diff) | |
| download | sl0ppij-6a3481f54f0ee789ceeb994d8f302e3ce119c031.tar.gz sl0ppij-6a3481f54f0ee789ceeb994d8f302e3ce119c031.tar.xz sl0ppij-6a3481f54f0ee789ceeb994d8f302e3ce119c031.zip | |
Merge branch 'main' into restructure
Diffstat (limited to 'src/common/errors.rs')
| -rw-r--r-- | src/common/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/errors.rs b/src/common/errors.rs index cb483bbc..ad2ae7eb 100644 --- a/src/common/errors.rs +++ b/src/common/errors.rs @@ -167,6 +167,7 @@ pub enum ScreenContext { CloseFocusedPane, ToggleActiveTerminalFullscreen, SetSelectable, + SetMaxHeight, ClosePane, ApplyLayout, NewTab, @@ -202,6 +203,7 @@ impl From<&ScreenInstruction> for ScreenContext { ScreenContext::ToggleActiveTerminalFullscreen } ScreenInstruction::SetSelectable(..) => ScreenContext::SetSelectable, + ScreenInstruction::SetMaxHeight(..) => ScreenContext::SetMaxHeight, ScreenInstruction::ClosePane(_) => ScreenContext::ClosePane, ScreenInstruction::ApplyLayout(_) => ScreenContext::ApplyLayout, ScreenInstruction::NewTab(_) => ScreenContext::NewTab, |
