microsoft / microsoft/terminal
ConPTY DSR CPR on resize can interrupt in-flight (long-term) DCS (or APC or ...)
Open
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
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