Previous keystrokes modify following keystrokes #1601

Open
opened 2026-01-30 22:31:46 +00:00 by claunia · 0 comments
Owner

Originally created by @atwok on GitHub (Jun 11, 2019).

Originally assigned to: @zadjii-msft on GitHub.

Environment

Windows build number: [run "ver" at a command prompt] 
Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable): 0.1.1502.0

Any other software?  Found using WSL, ssh to a remote server, and then emacs in terminal mode

Steps to reproduce

Alt-/ followed by Ctrl-E is sending Alt-Ctrl-E instead of just Ctrl-E. It doesn't matter if it's Ctrl-E. Ctrl-A after Alt-/ acts the same way.

showkey -a                                                                                                                                                                                                                                                              
Press any keys - Ctrl-D will terminate this program                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             
^[/      27 0033 0x1b
           47 0057 0x2f
^[^E   27 0033 0x1b
             5 0005 0x05

But, for instance, Alt-A followed by Ctrl-E behaves correctly:

^[A      27 0033 0x1b
            65 0101 0x41
^E         5 0005 0x05
Originally created by @atwok on GitHub (Jun 11, 2019). Originally assigned to: @zadjii-msft on GitHub. <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: [run "ver" at a command prompt] Microsoft Windows [Version 10.0.18362.175] Windows Terminal version (if applicable): 0.1.1502.0 Any other software? Found using WSL, ssh to a remote server, and then emacs in terminal mode ``` # Steps to reproduce Alt-/ followed by Ctrl-E is sending Alt-Ctrl-E instead of just Ctrl-E. It doesn't matter if it's Ctrl-E. Ctrl-A after Alt-/ acts the same way. showkey -a Press any keys - Ctrl-D will terminate this program ^[/ 27 0033 0x1b 47 0057 0x2f ^[^E 27 0033 0x1b 5 0005 0x05 But, for instance, Alt-A followed by Ctrl-E behaves correctly: ^[A 27 0033 0x1b 65 0101 0x41 ^E 5 0005 0x05
claunia added the Resolution-Fix-CommittedIssue-BugArea-InputProduct-Conpty labels 2026-01-30 22:31:46 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1601