Skip to content

Broken input in fish shell #19977

@sboukortt

Description

@sboukortt

Windows Terminal version

1.25.622.0

Windows build number

10.0.26200.0

Other Software

fish 4.5.0 in msys2
bépo keyboard layout: https://cdn.bepo.fr/windows%2Fbepo.exe

Steps to reproduce

Use any of the following key combinations:

  • AltGr + y (the key labelled x on a QWERTY keyboard)
  • AltGr + x (the key labelled c on a QWERTY keyboard)
  • AltGr + ( (4 in QWERTY)
  • AltGr + ) (5 in QWERTY)
  • AltGr + k (b in QWERTY)
  • AltGr + Space

Expected Behavior

  • AltGr + y produces {
  • AltGr + x produces }
  • AltGr + ( produces [
  • AltGr + ) produces ]
  • AltGr + k produces ~
  • AltGr + Space produces _

Actual Behavior

In Terminal 1.23.20211.0: the characters appear as expected.
In Terminal Preview 1.25.622.0: they don’t. This is a regression. (AltGr + k, in addition to not producing ~, also seems to trigger some action in fish.)

My suspicion, without having looked that much into it, is that AltGr might now be treated more like Alt than it should.

Metadata

Metadata

Assignees

Labels

Area-InputRelated to input processing (key presses, mouse, etc.)Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-AttentionThe core contributors need to come back around and look at this ASAP.Product-TerminalThe new Windows Terminal.

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions