aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-utils/src/errors.rs
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2022-08-17 09:28:51 +0200
committerGitHub <noreply@github.com>2022-08-17 09:28:51 +0200
commitf4ad946497264dbe8339f50b2e9ef0cf90a2024c (patch)
tree1a53e6f56d1a8b491457266fadc1d93f118be6b2 /zellij-utils/src/errors.rs
parentdocs(changelog): refactor terminal characters (diff)
downloadsl0ppij-f4ad946497264dbe8339f50b2e9ef0cf90a2024c.tar.gz
sl0ppij-f4ad946497264dbe8339f50b2e9ef0cf90a2024c.tar.xz
sl0ppij-f4ad946497264dbe8339f50b2e9ef0cf90a2024c.zip
fix(terminal): SGR/UTF8 mouse reporting in terminal panes (#1664)
* work * work * fix: selection mishandling * style(fmt): rustfmt * style(comments): remove outdated * style(clippy): make clippy happy * fix(mouse): off by one sgr/utf8 reporting * style(fmt): rustfmt * fix(mouse): correctly report drag event code * fix(input): support mouse middle click * style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src/errors.rs')
-rw-r--r--zellij-utils/src/errors.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs
index bd206122..07dfb89e 100644
--- a/zellij-utils/src/errors.rs
+++ b/zellij-utils/src/errors.rs
@@ -295,8 +295,13 @@ pub enum ScreenContext {
ChangeMode,
LeftClick,
RightClick,
- MouseRelease,
- MouseHold,
+ MiddleClick,
+ LeftMouseRelease,
+ RightMouseRelease,
+ MiddleMouseRelease,
+ MouseHoldLeft,
+ MouseHoldRight,
+ MouseHoldMiddle,
Copy,
ToggleTab,
AddClient,