microsoft / microsoft/terminal
Unusual 3rd-party keyboard layout issue; Can't type digits with Shift in Neovim in PowerShell?
Nobody has claimed this yet.
- 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
- Start Terminal with PowerShell Core.
- Start Neovim.
- Switch to insert mode (press i).
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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