microsoft / microsoft/terminal

Support control sequences for title stacking

Open
#14,575 0 comments 2 reactions 0 assignees View on GitHub
Area-VT Help Wanted Issue-Task Product-Conhost
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

# 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.

[1]: https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Miscellaneous

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named in the issue. Start by reading the linked xterm control-sequence reference and locating the terminal's handling for title-related control sequences. Done means the specified title-save and title-restore sequences maintain a stack and restore the previous title when requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.