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/mod.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/mod.rs')
| -rw-r--r-- | src/common/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/mod.rs b/src/common/mod.rs index add50d47..d8957003 100644 --- a/src/common/mod.rs +++ b/src/common/mod.rs @@ -295,6 +295,7 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs) { &full_screen_ws, os_input, max_panes, + InputMode::Normal, ); loop { let (event, mut err_ctx) = screen @@ -429,6 +430,9 @@ pub fn start(mut os_input: Box<dyn OsApi>, opts: CliArgs) { ScreenInstruction::UpdateTabName(c) => { screen.update_active_tab_name(c); } + ScreenInstruction::ChangeInputMode(input_mode) => { + screen.change_input_mode(input_mode); + } ScreenInstruction::Quit => { break; } |
