diff options
| author | Denis Maximov <denismaximov98@gmail.com> | 2021-03-24 11:37:35 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-24 11:37:35 +0200 |
| commit | d64e814e54c52085647a053ec0bd6393e8986b19 (patch) | |
| tree | cf9ceb0c4288f2d811497482c80809d90961ce7f /src/common/mod.rs | |
| parent | Performance: only render panes that should be updated (#234) (diff) | |
| parent | wip: input_mode back in tab, not passing stuff around anymore (diff) | |
| download | sl0ppij-d64e814e54c52085647a053ec0bd6393e8986b19.tar.gz sl0ppij-d64e814e54c52085647a053ec0bd6393e8986b19.tar.xz sl0ppij-d64e814e54c52085647a053ec0bd6393e8986b19.zip | |
Merge pull request #235 from zellij-org/focused-pane
feature: Focused pane border coloring
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 7b19bcef..7e52dde7 100644 --- a/src/common/mod.rs +++ b/src/common/mod.rs @@ -290,6 +290,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 @@ -424,6 +425,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; } |
