microsoft / microsoft/terminal

ConPTY DSR CPR on resize can interrupt in-flight (long-term) DCS (or APC or ...)

Open
#19,621 1 comment 0 reactions 0 assignees View on GitHub
Area-VT Issue-Bug Priority-2 Product-Conpty
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

This will impact tmux control mode, as ConPTY will send `\x1B` to terminal and promptly terminate the in-flight exchange.

All in-band signaling from ConPTY must be suppressed when passing through a DCS. Fortunately, nobody will be querying the cursor position to know it hasn't updated.

Contributor guide

Open the contributing guide

Research direction

Start by tracing ConPTY resize handling, especially the DSR/CPR response path and how in-flight DCS or APC exchanges are tracked. Reproduce a resize during a long-running control-mode exchange and verify that ConPTY emits no in-band signaling while the DCS is active.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.