diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-03-25 14:24:11 +0000 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-03-25 14:24:11 +0000 |
| commit | f2f77583848bce219fc098508fffde30fa366b89 (patch) | |
| tree | 391ac6129ddcc6ea0fe760dd206abaa97bde3b35 /src/common/errors.rs | |
| parent | Remove a dead input enum variant (diff) | |
| parent | fix(render): various rendering issues (#238) (diff) | |
| download | sl0ppij-f2f77583848bce219fc098508fffde30fa366b89.tar.gz sl0ppij-f2f77583848bce219fc098508fffde30fa366b89.tar.xz sl0ppij-f2f77583848bce219fc098508fffde30fa366b89.zip | |
Merge in changes from main and fix clippy lints
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 b12a57a1..9afa694f 100644 --- a/src/common/errors.rs +++ b/src/common/errors.rs @@ -200,6 +200,7 @@ pub enum ScreenContext { CloseTab, GoToTab, UpdateTabName, + ChangeInputMode, } // FIXME: Just deriving EnumDiscriminants from strum will remove the need for any of this!!! @@ -240,6 +241,7 @@ impl From<&ScreenInstruction> for ScreenContext { ScreenInstruction::CloseTab => ScreenContext::CloseTab, ScreenInstruction::GoToTab(_) => ScreenContext::GoToTab, ScreenInstruction::UpdateTabName(_) => ScreenContext::UpdateTabName, + ScreenInstruction::ChangeInputMode(_) => ScreenContext::ChangeInputMode, } } } |
