diff options
author | Brooks J Rady <b.j.rady@gmail.com> | 2021-10-12 23:11:23 +0100 |
---|---|---|
committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-10-12 23:11:23 +0100 |
commit | b94b25c5fe504eb9f9f15cfebaa7cb5f9c0af2e6 (patch) | |
tree | 00e876635601ff2fb928ad4aa74d26f11c4afaf1 /zellij-server/src/panes/plugin_pane.rs | |
parent | 0710594588aa768b934f925704dc57486dc0a157 (diff) |
fix(plugin): clean up the mouse PR a little
Diffstat (limited to 'zellij-server/src/panes/plugin_pane.rs')
-rw-r--r-- | zellij-server/src/panes/plugin_pane.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zellij-server/src/panes/plugin_pane.rs b/zellij-server/src/panes/plugin_pane.rs index f58d9f738..8659ae155 100644 --- a/zellij-server/src/panes/plugin_pane.rs +++ b/zellij-server/src/panes/plugin_pane.rs @@ -286,7 +286,7 @@ impl Pane for PluginPane { self.send_plugin_instructions .send(PluginInstruction::Update( Some(self.pid), - Event::Mouse(Mouse::MouseHold(position.line.0, position.column.0)), + Event::Mouse(Mouse::Hold(position.line.0, position.column.0)), )) .unwrap(); } @@ -294,7 +294,7 @@ impl Pane for PluginPane { self.send_plugin_instructions .send(PluginInstruction::Update( Some(self.pid), - Event::Mouse(Mouse::MouseRelease( + Event::Mouse(Mouse::Release( end.map(|Position { line, column }| (line.0, column.0)), )), )) |