mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-08 12:54:28 +00:00
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:
committed by
GitHub
parent
1b86691896
commit
2696d50ca4
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user