Windows Terminal breaks remapped key by windows powertoys #15943

Closed
opened 2026-01-31 04:52:56 +00:00 by claunia · 7 comments
Owner

Originally created by @abuturabofficial on GitHub (Nov 22, 2021).

Windows Terminal version

1.11.2921.0

Windows build number

22000.318

Other Software

Powertoys v0.49.1

Steps to reproduce

I have remapped capslock to esc and vice versa.
By simply opening Windows terminal the remapped keys stopped working and start showing their actual behavior.

Expected Behavior

Remapped keys should work.
CapsLock as esc and vice versa

Actual Behavior

Remapped mapped doesn't work, instead their actual behavior is shown.

Originally created by @abuturabofficial on GitHub (Nov 22, 2021). ### Windows Terminal version 1.11.2921.0 ### Windows build number 22000.318 ### Other Software Powertoys v0.49.1 ### Steps to reproduce I have remapped `capslock` to `esc` and vice versa. By simply opening `Windows terminal` the remapped keys stopped working and start showing their actual behavior. ### Expected Behavior Remapped keys should work. `CapsLock` as `esc` and vice versa ### Actual Behavior Remapped mapped doesn't work, instead their actual behavior is shown.
claunia added the Needs-TriageArea-InputNeeds-Tag-FixNeeds-Attention labels 2026-01-31 04:52:57 +00:00
Author
Owner

@abuturabofficial commented on GitHub (Nov 22, 2021):

I don't know what's happening, but sometimes the remapped keys start working, and other time don't.

@abuturabofficial commented on GitHub (Nov 22, 2021): I don't know what's happening, but sometimes the remapped keys start working, and other time don't.
Author
Owner

@zadjii-msft commented on GitHub (Nov 22, 2021):

That's weird. I don't think the Terminal should be messing with that at all.

When you say:

By simply opening Windows terminal the remapped keys stopped working and start showing their actual behavior.

Do you mean the key stops being remapped for the Terminal, or for all applications?

@crutkas any ideas what's going on here?

@zadjii-msft commented on GitHub (Nov 22, 2021): That's weird. I don't think the Terminal should be messing with that at all. When you say: > By simply opening `Windows terminal` the remapped keys stopped working and start showing their actual behavior. Do you mean the key stops being remapped for _the Terminal_, or for _all applications_? @crutkas any ideas what's going on here?
Author
Owner

@abuturabofficial commented on GitHub (Nov 22, 2021):

Do you mean the key stops being remapped for the Terminal, or for all applications?

I meant, as long as the focus is on the terminal window, it doesn't work, when I change the focus to something else or open another program, it starts working

@abuturabofficial commented on GitHub (Nov 22, 2021): > > Do you mean the key stops being remapped for _the Terminal_, or for _all applications_? > I meant, as long as the focus is on the terminal window, it doesn't work, when I change the focus to something else or open another program, it starts working
Author
Owner

@abuturabofficial commented on GitHub (Nov 22, 2021):

When I said, sometimes remapped keys starts working and sometimes don't.

I also meant inside WT, as everywhere else remapping totally works fine.

@abuturabofficial commented on GitHub (Nov 22, 2021): > >When I said, sometimes remapped keys starts working and sometimes don't. > I also meant inside WT, as everywhere else remapping totally works fine.
Author
Owner

@crutkas commented on GitHub (Nov 22, 2021):

is terminal run as admin and Powertoys isn't?

@crutkas commented on GitHub (Nov 22, 2021): is terminal run as admin and Powertoys isn't?
Author
Owner

@abuturabofficial commented on GitHub (Nov 23, 2021):

is terminal run as admin and Powertoys isn't?

You're right, found the exact reason, it only happens when WT is running as an admin but PowerToys isn't.

Running PowerToys always in an admin mode solved the problem.

So, closing the issue. Thanks a lot @crutkas.

@abuturabofficial commented on GitHub (Nov 23, 2021): > is terminal run as admin and Powertoys isn't? You're right, found the exact reason, it only happens when `WT` is running as an admin but `PowerToys` isn't. `Running PowerToys always in an admin mode solved the problem.` So, closing the issue. Thanks a lot @crutkas.
Author
Owner

@crutkas commented on GitHub (Nov 23, 2021):

While we can detect this, it is hard. FancyZones is able to since you interact with the window. Keyboard manager is a bit harder to catch this.

@crutkas commented on GitHub (Nov 23, 2021): While we can detect this, it is hard. FancyZones is able to since you interact with the window. Keyboard manager is a bit harder to catch this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15943