diff options
author | Tw <tw19881113@gmail.com> | 2021-11-03 02:49:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 18:49:10 +0000 |
commit | 9ea3dc0dbe61a749c8ccf3f03a8331db47f150a6 (patch) | |
tree | 9c7abd3f3335031b0f28e6baeb1d818025a4ef6a /zellij-client/src | |
parent | 2904c04ab0d032bc2d1dd3d55e39cc58fc490b4b (diff) |
feat(ui): add right-click support to plugins
Diffstat (limited to 'zellij-client/src')
-rw-r--r-- | zellij-client/src/input_handler.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zellij-client/src/input_handler.rs b/zellij-client/src/input_handler.rs index 2b89741e0..d07c2caa8 100644 --- a/zellij-client/src/input_handler.rs +++ b/zellij-client/src/input_handler.rs @@ -135,6 +135,9 @@ impl InputHandler { MouseButton::Left => { self.dispatch_action(Action::LeftClick(point)); } + MouseButton::Right => { + self.dispatch_action(Action::RightClick(point)); + } _ => {} }, MouseEvent::Release(point) => { |