microsoft / microsoft/terminal
Re-enable support for DECKPAM
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
This was originally tracked in #16506.
Support was added in #16511.
But turns out people didn't expect the Terminal to actually be like, compliant: #16654
So now we're gonna add a setting to be able to manually enable/disable support for toggling this mode.
The trick here? ConPTY is the thing that's going to need to do the input translation, not the Terminal. So, the Terminal needs a way to tell conpty (at runtime)[^1] if this is a mode that's allowed or not. And that, we don't have a good system set up for currently.
[^1]: Leonard keeps terrifyingly calling this ConPTY IOCTL
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 reading issues #16506, #16511, and #16654 to understand the existing DECKPAM support and the compliance concern. Then investigate the Terminal–ConPTY boundary and the referenced ConPTY IOCTL approach. Done means providing a runtime setting that lets the Terminal enable or disable DECKPAM input translation in ConPTY.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100