Feature Request: Allow tab title to be set by console apps #3088

Open
opened 2026-01-30 23:12:43 +00:00 by claunia · 0 comments
Owner

Originally created by @mbreaton on GitHub (Aug 3, 2019).

Add support for console apps that attempt to set their window title:

cmd => title "Title"
pwsh => $host.ui.RawUI.WindowTitle = "title"
bash => export PS1=

This works in current shells and is useful for allowing long running scripts to display a current action message before executing a block of long running commands that emit a lot of superfluous console output (compiler output, file copies, etc) and would reduce switching back and forth to a tab just to view its progress

$host.ui.RawUI.WindowTitle = "compile..."
# build command
$host.ui.RawUI.WindowTitle = "containerize..."
# docker build
$host.ui.RawUI.WindowTitle = "deploy..."
# docker push
Originally created by @mbreaton on GitHub (Aug 3, 2019). ### Add support for console apps that attempt to set their window title: **cmd** => `title "Title"` **pwsh** => `$host.ui.RawUI.WindowTitle = "title"` **bash** => `export PS1=` This works in current shells and is useful for allowing long running scripts to display a current action message before executing a block of long running commands that emit a lot of superfluous console output (compiler output, file copies, etc) and would reduce switching back and forth to a tab just to view its progress ``` $host.ui.RawUI.WindowTitle = "compile..." # build command $host.ui.RawUI.WindowTitle = "containerize..." # docker build $host.ui.RawUI.WindowTitle = "deploy..." # docker push ```
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-30 23:12:43 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3088