diff options
| author | Brooks J Rady <b.j.rady@gmail.com> | 2021-03-31 12:13:00 +0100 |
|---|---|---|
| committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-03-31 12:13:00 +0100 |
| commit | 138ba850ebf7df02526990f428207e0f8ec48ece (patch) | |
| tree | 464abc4497e68e0a92ad83da4b2d6403dfd4d427 /src/common/input | |
| parent | feat(plugin): refactored to a new and more general plugin API (diff) | |
| download | sl0ppij-138ba850ebf7df02526990f428207e0f8ec48ece.tar.gz sl0ppij-138ba850ebf7df02526990f428207e0f8ec48ece.tar.xz sl0ppij-138ba850ebf7df02526990f428207e0f8ec48ece.zip | |
fix(plugin): send mode updates to subscribed plugins on load
Diffstat (limited to 'src/common/input')
| -rw-r--r-- | src/common/input/handler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/input/handler.rs b/src/common/input/handler.rs index 33f4e5dc..7f73b449 100644 --- a/src/common/input/handler.rs +++ b/src/common/input/handler.rs @@ -130,7 +130,7 @@ impl InputHandler { )) .unwrap(); self.send_screen_instructions - .send(ScreenInstruction::ChangeInputMode(mode)) + .send(ScreenInstruction::ChangeMode(get_mode_info(mode))) .unwrap(); self.send_screen_instructions .send(ScreenInstruction::Render) |
