Support control sequences for title stacking #19088

Open
opened 2026-01-31 06:33:27 +00:00 by claunia · 0 comments
Owner

Originally created by @3N4N on GitHub (Dec 17, 2022).

Description of the new feature/enhancement

In xterm's control sequences, there are two codes for title stacking, \033[22;0t and \033[22;0t[1]. Supporting this code would entail implementing a stack where the terminal title can be saved by an application and then be restored later when the application exits.

Proposed technical implementation details (optional)

Having no understanding of the codebase, I can't suggest anything in the technical department. I can't even claim that most terminals implement these codes, so I can't reasonably demand that Windows Terminal should support them, but if it did, that would be awesome.

Originally created by @3N4N on GitHub (Dec 17, 2022). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> # Description of the new feature/enhancement <!-- A clear and concise description of what the problem is that the new feature would solve. Describe why and how a user would use this new functionality (if applicable). --> In xterm's control sequences, there are two codes for title stacking, `\033[22;0t` and `\033[22;0t`<sup>[[1]]</sup>. Supporting this code would entail implementing a stack where the terminal title can be saved by an application and then be restored later when the application exits. # Proposed technical implementation details (optional) <!-- A clear and concise description of what you want to happen. --> Having no understanding of the codebase, I can't suggest anything in the technical department. I can't even claim that most terminals implement these codes, so I can't reasonably demand that Windows Terminal _should_ support them, but if it did, that would be awesome. [1]: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Miscellaneous
claunia added the Help WantedProduct-ConhostIssue-TaskArea-VT labels 2026-01-31 06:33:28 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19088