wsl 1: Inserting | character does not work on Swedish QWERTY keyboard #2129

Open
opened 2026-01-30 22:47:42 +00:00 by claunia · 0 comments
Owner

Originally created by @thernstig on GitHub (Jun 24, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable): 0.2.1715.0
wsl 1, Ubuntu 18.04
bash

Steps to reproduce

  1. Using a Swedish QWERTY keyboard (not sure if it matters)
  2. Open wsl 1 (Ubuntu 18.04)
  3. Pressing AltGr + | somehow adds the first thing I have in my bash history at the line.

Expected behavior

I expected it to give me a | character.

Actual behavior

I start with mycomputer ~/codeA/ (master)$ asd then press AltGr + | which replaces the entire line with mycomputer ~/codeA/ (master)$ less .bashrc

Swedish QWERTY reference: https://upload.wikimedia.org/wikipedia/commons/e/e0/KB_Sweden.svg

Originally created by @thernstig on GitHub (Jun 24, 2019). # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.175] Windows Terminal version (if applicable): 0.2.1715.0 wsl 1, Ubuntu 18.04 bash ``` # Steps to reproduce 1. Using a Swedish QWERTY keyboard (not sure if it matters) 2. Open wsl 1 (Ubuntu 18.04) 3. Pressing `AltGr + |` somehow adds the first thing I have in my bash history at the line. # Expected behavior I expected it to give me a `|` character. # Actual behavior I start with `mycomputer ~/codeA/ (master)$ asd` then press `AltGr + |` which replaces the entire line with `mycomputer ~/codeA/ (master)$ less .bashrc ` Swedish QWERTY reference: https://upload.wikimedia.org/wikipedia/commons/e/e0/KB_Sweden.svg
claunia added the Issue-BugArea-InputResolution-DuplicateProduct-Terminal labels 2026-01-30 22:47:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2129