microsoft / microsoft/terminal

Unusual 3rd-party keyboard layout issue; Can't type digits with Shift in Neovim in PowerShell?

Open
#3,864 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Input Area-TerminalControl Issue-Bug Product-Terminal
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Environment

Windows build number: 10.0.19033.0
Windows Terminal version (if applicable): 0.7.3382.0 (but it's reproduceable in earlier builds too)

Neovim: 0.4.2
PowerShell Core: 7.0.0-preview.6
Universal keyboard layout: https://github.com/braindefender/universal-layout

Steps to reproduce

  1. Start Terminal with PowerShell Core.
  2. Start Neovim.
  3. Switch to insert mode (press i).
  4. Type any digit by holding Shift and pressing a key with a digit on it. Like 3.

Expected behavior

The digit is typed.

Actual behavior

Nothing is typed.

Additional information

I can type digits in WSL2 Ubuntu. The rest of the setup is the same.

I also can type digits in plain PowerShell Core, without Neovim.

Also, I can type digits in Neovim under PowerShell Core if I run it not in Windows Terminal, i.e. if I run the regular old school terminal.

Also, I can type digits in Vim instead of Neovim.

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

Start by reproducing the issue in Windows Terminal with PowerShell Core and Neovim, using the listed Windows build and universal keyboard layout. Compare shifted-digit input in Neovim, Vim, plain PowerShell, WSL2, and the old terminal; done means shifted digits type correctly in the reported Windows Terminal setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, neovim, powershell
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.