aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/input
diff options
context:
space:
mode:
authordenis <denismaximov98@gmail.com>2021-03-20 16:54:18 +0200
committerdenis <denismaximov98@gmail.com>2021-03-20 16:54:18 +0200
commit021c8608c8d8a0cd43328d9c0bede5259bd14261 (patch)
treee51b4ac728b573c01e71905815097a03ecfda7e0 /src/common/input
parentwip: active pane color, able to type / not able to type inside a pane distinc... (diff)
downloadsl0ppij-021c8608c8d8a0cd43328d9c0bede5259bd14261.tar.gz
sl0ppij-021c8608c8d8a0cd43328d9c0bede5259bd14261.tar.xz
sl0ppij-021c8608c8d8a0cd43328d9c0bede5259bd14261.zip
wip: not sure about updating the input_mode and tab switches for now
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();
}