feat: added mouse-reporting / toggle-mouse-reporting (#9282)

Closes #8430

A few questions:
* Should I set a default keybind for `toggle-mouse-reporting`? The issue
mentioned one, it's currently unset.
* Am I handling the `toggle-mouse-reporting` action properly in
`performAction` (gtk) / `action` (macos)?

Copilot was used to understand the codebase, but code was authored
manually.
This commit is contained in:
Matthew Hrehirchuk
2025-10-19 21:45:37 -06:00
committed by GitHub
parent 1b86691896
commit 2696d50ca4
4 changed files with 53 additions and 5 deletions

View File

@@ -449,6 +449,12 @@ fn actionCommands(action: Action.Key) []const Command {
.description = "Toggle secure input mode.",
}},
.toggle_mouse_reporting => comptime &.{.{
.action = .toggle_mouse_reporting,
.title = "Toggle Mouse Reporting",
.description = "Toggle whether mouse events are reported to terminal applications.",
}},
.check_for_updates => comptime &.{.{
.action = .check_for_updates,
.title = "Check for Updates",