microsoft / microsoft/terminal
CTRL key issue after switching tab with CTRL+Tab
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.23.12811.0
### Windows build number
10.0.26200.0
### Other Software
WSL Version : 2.6.1.0 / Ubuntu 24.04.3
Kernel Version : 6.6.87.2-1
I'm using a keyboard with french layout
```powershell
$ Get-WinUserLanguageList
LanguageTag : fr-FR
Autonym : Français (France)
EnglishName : French
LocalizedName : Français (France)
ScriptName : Latin
InputMethodTips : {040C:0000040C}
Spellchecking : True
Handwriting : False
```
### Steps to reproduce
* Open a wsl tab
* Open another wsl tab
* CTRL+Tab to go the 1st tab and launch `showkey -a`
* Type \ (it displays `\ 92 0134 0x5c`)
* CTRL+Tab twice (go the 2nd tab and back to the 1st)
* Type \ (it displays `^\ 28 0034 0x1c`)
### Expected Behavior
It should display `\ 92 0134 0x5c` as the 1st time
### Actual Behavior
It displays `^\ 28 0034 0x1c` (CTRL+\)
Contributor guide
Research direction
No source file or test is named. Reproduce the issue in Windows Terminal with two WSL tabs, CTRL+Tab, and showkey -a using the reported French keyboard layout, then trace the terminal's keyboard-input handling around tab switching. Done means the backslash continues to produce 92 0134 0x5c rather than 28 0034 0x1c after switching tabs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, ubuntu
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100