microsoft / microsoft/terminal
Characters typed into terminal when switching to other windows/tabs
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
1.18.3181.0
### Windows build number
10.0.22631.0
### Other Software
PowerShell 7.4.0 (from microsoft store)
### Steps to reproduce
From the first open tab in Windows Terminal, Alt-tab or use the mouse to switch to another window, or another tab within Windows Terminal.
### Expected Behavior
Nothing typed into the terminal
### Actual Behavior
The first time I switch away, it writes a `[` into the terminal. If I switch back, it writes `O[`, and if I tab out again it writes `I[`, and continues to do that if I tab in and out repeatedly, so I end up with something like `[O[I[O[I[O[I[O[I[O[I[O[I[O[I[O[I` in my terminal.
It's entirely possible that I (or my toddler) accidentally mashed some key combination to put the terminal in some unexpected mode; this would be the most likely explanation since neither Windows Terminal nor PowerShell have been updated recently, however I'm at a loss as to what exactly could have done this.
Contributor guide
Research direction
Reproduce the reported Alt-Tab and Windows Terminal tab-switching steps using Windows Terminal 1.18.3181.0, PowerShell 7.4.0, and Windows 10.0.22631.0; no source file or test is identified in the issue. Done means switching windows or tabs no longer inserts characters into the terminal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100