diff options
| author | Aram Drevekenin <aram@poor.dev> | 2021-01-28 18:29:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-28 18:29:44 +0100 |
| commit | dd56deb2d285e12f8d2399ac1b757b5b067dffe5 (patch) | |
| tree | 2933952cb27b6d7b3e1c11cd0943bb3e595912c7 /src/errors.rs | |
| parent | Min max height and width (#155) (diff) | |
| download | sl0ppij-dd56deb2d285e12f8d2399ac1b757b5b067dffe5.tar.gz sl0ppij-dd56deb2d285e12f8d2399ac1b757b5b067dffe5.tar.xz sl0ppij-dd56deb2d285e12f8d2399ac1b757b5b067dffe5.zip | |
feat(statusbar): max status bar height (#156)
Diffstat (limited to 'src/errors.rs')
| -rw-r--r-- | src/errors.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs index cb483bbc..ad2ae7eb 100644 --- a/src/errors.rs +++ b/src/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, |
