microsoft / microsoft/terminal

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

Open
#18,663 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-SettingsUI Help Wanted Issue-Bug Needs-Tag-Fix Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### 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"
},
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the binding in the Terminal Settings window using a Swiss German keyboard layout, then inspect the generated settings.json entry for the § key and trace how it is handled. Done means pressing § opens quake mode just as Ctrl-Alt-5 does, with coverage for this keyboard layout and binding behavior if the existing tests provide a suitable place.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.