microsoft / microsoft/terminal
Investigate: Ctrl-Space seems to work strangely for some folks
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
I'm using Git Bash (from Git 2.32.0.2) in Windows Terminal 1.9.1942.0 (installed via Windows Store), on Win10.
I connect to another machine via SSH and use screen there.
In screen I should be able to switch between the "windows" with `Ctrl-A Space`.
Right now this only works if I don't press Ctrl anymore when pressing Space - I'm pretty sure it wasn't like this before, and it definitely isn't like that with the (Putty-based, AFAIK?) **mintty** Terminal emulator that comes with Git for Windows (or any terminal emulator I tried on Linux).
So `Ctrl-A` *release keys* `Space` works, `Ctrl-A-` *keep pressing those keys* `Space` does not work (when using Windows Terminal), even though it should (and after almost 20 years of doing this I don't think I can retrain my muscle memory).
**UPDATE:** When I connect to a Linux machine per SSH and run `cat -v` and then press `Ctrl-Space`, it prints `^@` with mintty (from git) and nothing at all with Windows Terminal.
_Originally posted by @DanielGibson in https://github.com/microsoft/terminal/issues/2865#issuecomment-914471061_
Contributor guide
Research direction
Reproduce the report in Windows Terminal 1.9.1942.0 with Git Bash, an SSH connection, and screen, comparing held-key Ctrl-A Space with released keys. Run cat -v on the remote Linux machine and compare the Ctrl-Space output with mintty; done when the differing input behavior is understood and corrected or documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- 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