Binding the § key to actions does not work, only the equivalent Ctrl-Alt-5§§ #22999

Open
opened 2026-01-31 08:29:34 +00:00 by claunia · 2 comments
Owner

Originally created by @sfiruch on GitHub (Mar 8, 2025).

Windows Terminal version

1.21.10351.0

Windows build number

10.0.26100.3323

Other Software

No response

Steps to reproduce

  1. Use a Swiss German keyboard, and the corresponding Swiss German keyboard layout
  2. Just to check: Press the § key while focussing a text field, and see an § appear. Press Ctrl-Alt-5, and the same § should appear.
  3. Bind the quakeMode action to § with the Terminal Settings window.

Expected Behavior

Pressing the § opens a quake mode window.

Actual Behavior

  1. Pressing the § key does not open a quake mode window.
  2. Pressing the (equivalent) Ctrl-Alt-5 does open a quake mode window.

A new section appears in settings.json with these contents:

        {
            "command": 
            {
                "action": "quakeMode"
            },
            "keys": "\u00a7"
        },
Originally created by @sfiruch on GitHub (Mar 8, 2025). ### Windows Terminal version 1.21.10351.0 ### Windows build number 10.0.26100.3323 ### Other Software _No response_ ### Steps to reproduce 1. Use a Swiss German keyboard, and the corresponding Swiss German keyboard layout 2. Just to check: Press the `§` key while focussing a text field, and see an `§` appear. Press Ctrl-Alt-5, and the same `§` should appear. 3. Bind the `quakeMode` action to `§` with the Terminal Settings window. ### Expected Behavior Pressing the `§` opens a quake mode window. ### Actual Behavior 1. Pressing the `§` key does not open a quake mode window. 2. Pressing the (equivalent) Ctrl-Alt-5 does open a quake mode window. A new section appears in `settings.json` with these contents: ```json { "command": { "action": "quakeMode" }, "keys": "\u00a7" }, ```
Author
Owner

@PankajBhojwani commented on GitHub (Mar 12, 2025):

Thank you for filing this! It seems Terminal does not know how to map that character back. Can you try mapping the keybinding to sc(41) and try again?

@PankajBhojwani commented on GitHub (Mar 12, 2025): Thank you for filing this! It seems Terminal does not know how to map that character back. Can you try mapping the keybinding to `sc(41)` and try again?
Author
Owner

@sfiruch commented on GitHub (Mar 13, 2025):

Thank you for filing this! It seems Terminal does not know how to map that character back. Can you try mapping the keybinding to sc(41) and try again?

I tried it, and it appears to work as expected. So it seems it's more an issue of the settings window/JSON.

@sfiruch commented on GitHub (Mar 13, 2025): > Thank you for filing this! It seems Terminal does not know how to map that character back. Can you try mapping the keybinding to `sc(41)` and try again? I tried it, and it appears to work as expected. So it seems it's more an issue of the settings window/JSON.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22999