microsoft / microsoft/terminal

Re-enable support for DECKPAM

Open
#16,672 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Input Area-VT Help Wanted In-PR Issue-Task Product-Terminal
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.