diff options
author | Thomas Linford <tlinford@users.noreply.github.com> | 2022-03-08 18:26:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-08 18:26:33 +0100 |
commit | 7de77536abc2e8e2f2c3a2a3ec97dff081008258 (patch) | |
tree | ce29bd621e9a4afd10d80683a896bf813b3448d5 /zellij-tile | |
parent | 87e44ed9a6b1bb37225eb4b3d79f8889309f7011 (diff) |
refactor(tab): simplify mouse hold and release (#1185)
Diffstat (limited to 'zellij-tile')
-rw-r--r-- | zellij-tile/src/data.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/zellij-tile/src/data.rs b/zellij-tile/src/data.rs index 55ad08472..0676ec3e1 100644 --- a/zellij-tile/src/data.rs +++ b/zellij-tile/src/data.rs @@ -58,12 +58,12 @@ pub enum Key { // left click) and the `ScrollUp` and `ScrollDown` events could probably be // merged into a single `Scroll(isize)` event. pub enum Mouse { - ScrollUp(usize), // number of lines - ScrollDown(usize), // number of lines - LeftClick(isize, usize), // line and column - RightClick(isize, usize), // line and column - Hold(isize, usize), // line and column - Release(Option<(isize, usize)>), // line and column + ScrollUp(usize), // number of lines + ScrollDown(usize), // number of lines + LeftClick(isize, usize), // line and column + RightClick(isize, usize), // line and column + Hold(isize, usize), // line and column + Release(isize, usize), // line and column } #[derive(Debug, Clone, PartialEq, EnumDiscriminants, ToString, Serialize, Deserialize)] |