aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input
diff options
context:
space:
mode:
authorDenis Maximov <denismaximov98@gmail.com>2021-03-24 11:37:35 +0200
committerGitHub <noreply@github.com>2021-03-24 11:37:35 +0200
commitd64e814e54c52085647a053ec0bd6393e8986b19 (patch)
treecf9ceb0c4288f2d811497482c80809d90961ce7f /src/common/input
parentPerformance: only render panes that should be updated (#234) (diff)
parentwip: input_mode back in tab, not passing stuff around anymore (diff)
downloadsl0ppij-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/input')
-rw-r--r--src/common/input/handler.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/input/handler.rs b/src/common/input/handler.rs
index 57bb46fb..2d5e965f 100644
--- a/src/common/input/handler.rs
+++ b/src/common/input/handler.rs
@@ -134,6 +134,9 @@ impl InputHandler {
input_mode: self.mode,
});
self.send_screen_instructions
+ .send(ScreenInstruction::ChangeInputMode(self.mode))
+ .unwrap();
+ self.send_screen_instructions
.send(ScreenInstruction::Render)
.unwrap();
}