microsoft / microsoft/terminal
Cannot create a binding to output Esc only
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### Windows Terminal version
_No response_
### Windows build number
_No response_
### Other Software
_No response_
### Steps to reproduce
Try to create a new binding to output Esc character (\x1B)
### Expected Behavior
Pressing the binding should send Esc character to the app
### Actual Behavior
Nothing gets sent, which in WSL can be confirmed by running `cat` program.
Interestingly, it is possible to create a binding that sends Escape Sequences, e.g. `Alt-q` (\x1Bq), but not the Esc itself.
Contributor guide
Research direction
Start by reproducing the binding in Windows Terminal and verify the behavior with the `cat` program in WSL. Trace the binding path for outputting `\x1B`, compare it with the working `Alt-q` escape sequence, and consider the issue done when pressing the Esc-only binding sends the character to the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100