-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Closed
Labels
Area-InputRelated to input processing (key presses, mouse, etc.)Related to input processing (key presses, mouse, etc.)Area-VTVirtual Terminal sequence supportVirtual Terminal sequence supportIn-PRThis issue has a related PRThis issue has a related PRIssue-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 requirementsProduct-ConhostFor issues in the Console codebaseFor issues in the Console codebase
Milestone
Description
Windows Terminal version
1.16.10262.0
Windows build number
10.0.22621
Other Software
No response
Steps to reproduce
wsl
showkey -a
[type Ctrl-A, Alt-Ctrl-A, Ctrl-], Alt-Ctrl-], Ctrl-6, Alt-Ctrl-6]
Expected Behavior
^A 1 0001 0x01
^[^A 27 0033 0x1b
1 0001 0x01
^] 29 0035 0x1d
^[^] 27 0033 0x1b
29 0035 0x1d
^^ 30 0036 0x1e
^[^^ 27 0033 0x1b
30 0036 0x1e
Generally, for any key press that produces the character code C in the range 0 through 127, the same key press but with the Alt key down should produce the character code 27 (i.e., escape) followed by the character code C. (Unless, of course, there is a conflicting, explicit binding. There's a default binding for Alt-Ctrl-6, but removing it doesn't help.)
Actual Behavior
^A 1 0001 0x01
^[^A 27 0033 0x1b
1 0001 0x01
^] 29 0035 0x1d
^^ 30 0036 0x1e
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area-InputRelated to input processing (key presses, mouse, etc.)Related to input processing (key presses, mouse, etc.)Area-VTVirtual Terminal sequence supportVirtual Terminal sequence supportIn-PRThis issue has a related PRThis issue has a related PRIssue-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 requirementsProduct-ConhostFor issues in the Console codebaseFor issues in the Console codebase