Alt+ key combinations not being registered #20110

Closed
opened 2026-01-31 07:03:48 +00:00 by claunia · 3 comments
Owner

Originally created by @lszinv on GitHub (Jun 19, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

10.0.22621.1848

Other Software

No response

Steps to reproduce

All interactions using the Alt key are behaving as if the Alt key wasn't pressed. I was previously on Windows 10 and the version of Windows Terminal was behaving fine, but I just updated to Windows 11 and can no longer send the Alt key to the terminal. I've tried changing the AltGR aliasing option to no avail.

I've also gone and removed all existing shortcuts that included Alt as a key from Settings>Actions

For example in bash:
alt+b / alt+f to move cursor backwards/forwards words

Expected Behavior

Expected behaviour when passing in alt+b should move backwards by a word, and alt+f should move forwards by a word

Actual Behavior

Alt+b just inputs b into the CLI
Alt+f does nothing. Seems to be getting captured elsewhere

The desired behaviour works if I use ctrl+[ instead of Alt.

Originally created by @lszinv on GitHub (Jun 19, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.22621.1848 ### Other Software _No response_ ### Steps to reproduce All interactions using the Alt key are behaving as if the Alt key wasn't pressed. I was previously on Windows 10 and the version of Windows Terminal was behaving fine, but I just updated to Windows 11 and can no longer send the Alt key to the terminal. I've tried changing the AltGR aliasing option to no avail. I've also gone and removed all existing shortcuts that included Alt as a key from Settings>Actions For example in bash: alt+b / alt+f to move cursor backwards/forwards words ### Expected Behavior Expected behaviour when passing in alt+b should move backwards by a word, and alt+f should move forwards by a word ### Actual Behavior Alt+b just inputs b into the CLI Alt+f does nothing. Seems to be getting captured elsewhere The desired behaviour works if I use `ctrl+[` instead of Alt.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 07:03:48 +00:00
Author
Owner

@lhecker commented on GitHub (Jun 19, 2023):

This works fine for me on Windows 11 with Windows Terminal 1.17. What keyboard layout are you using? Can you install showkey and run it as showkey -a? If you press a key like Alt+B it should show this:

^[b      27 0033 0x1b
         98 0142 0x62
@lhecker commented on GitHub (Jun 19, 2023): This works fine for me on Windows 11 with Windows Terminal 1.17. What keyboard layout are you using? Can you install `showkey` and run it as `showkey -a`? If you press a key like Alt+B it should show this: ``` ^[b 27 0033 0x1b 98 0142 0x62 ```
Author
Owner

@lszinv commented on GitHub (Jun 19, 2023):

Turns out my keyboard was faulty. I reflashed my fw on it and the issue went away.

@lszinv commented on GitHub (Jun 19, 2023): Turns out my keyboard was faulty. I reflashed my fw on it and the issue went away.
Author
Owner

@DHowett commented on GitHub (Jun 19, 2023):

Thanks for letting us know!

@DHowett commented on GitHub (Jun 19, 2023): Thanks for letting us know!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20110