-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Labels
Area-VTVirtual Terminal sequence supportVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-1A description (P1)A description (P1)Product-TerminalThe new Windows Terminal.The new Windows Terminal.
Milestone
Description
Windows Terminal version
1.23.10353.0
Windows build number
10.0.19045.5371
Other Software
No response
Steps to reproduce
- Open a WSL shell in Windows Terminal
- Execute
printf "\e[?1006;1003h"; read; printf "\e[?1003l" - Move the mouse over the terminal window
- Take note of the final character of the reported mouse events.
Expected Behavior
Those mouse reports should end with an uppercase M.
Actual Behavior
The mouse reports end with a lowercase m.
The spec is a bit confusing, because it says the final character is "M for button press and m for button release", and in this case the button isn't pressed, so you'd think a lowercase m might be more appropriate, but that's not how Xterm implements it (nor any other terminal I've tested). I think the rule is that it only ends with a lowercase m if it's actually a mouse release event.
See also zellij-org/zellij#4065 (comment)
Metadata
Metadata
Assignees
Labels
Area-VTVirtual Terminal sequence supportVirtual Terminal sequence supportIssue-BugIt either shouldn't be doing this or needs an investigation.It either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsDoesn't match tag requirementsPriority-1A description (P1)A description (P1)Product-TerminalThe new Windows Terminal.The new Windows Terminal.