Cyrillic breaks CTRL+ combos

Open
#2,865 16 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
csharp
Domain
cli

Research direction

Start by reproducing the issue in PowerShell 7.1.4 with PSReadLine 2.1.0 in Windows Terminal, using the Cyrillic keymap and CTRL+С. Trace the input and key handling path to determine why the Cyrillic character leaves CTRL+A and CTRL+C unusable. Done means the reported key combinations continue to work in both keymaps and the additional reproduction cases are understood.

Written by the indexing model from the issue text.

Description

In-PR Issue-KeyboardLayout Needs-Attention :wave:

Environment

PS version: 7.1.4
PSReadline version: 2.1.0
os: 10.0.19041.1165 (WinBuild.160101.0800)
PS file version: 7.1.4.0
HostName: ConsoleHost
BufferWidth: 120
BufferHeight: 9001

Steps to reproduce

Open powershell 7.1.4 in windows terminal.
In cyrillic keymap press CTRL+С (C cyrillic)
CTRL not working and terminal show C
CTRL+A and CTRL+C not working after it in both keymaps

There is also another cases but it hard to reproduce.

Expected behavior

Actual behavior

CTRL+C working correctly

Dominant language
C#
Stars
4.4k
Forks
341
PR merge metrics
No merged PRs in 30d

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.

More from PowerShell/PSReadLine

All issues in PowerShell/PSReadLine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.