Add mouse navigation button support for actions #10802
Labels
Area-TerminalControl
Issues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)
Issue-Task
It's a feature request, but it doesn't really need a major design.
Product-Terminal
The new Windows Terminal.
Milestone
Description of the new feature/enhancement
Follow-up on #10801: the added
browser_back
and_forward
keys are the keyboard keys, not the mouse buttons. It might be nice to add support for these buttons as well, usually they areVK_XBUTTON1
andVK_XBUTTON2
.Proposed technical implementation details (optional)
The implementation will be a bit more complicated than just adding the key definitions, as now the mouse handlers should also check for keychord bindings. My proposal would be to add this to
TermControl::_PointerPressedHandler
. This would limit the support to when hovering the terminal control, so that might not be ideal. I am not sure what is actually desirable here.Things to consider:
browser_back
and_forward
, or separate namesmouse_back
and_forward
?The text was updated successfully, but these errors were encountered: