Skip to content

Indicate unsaved work with U+25CF in the terminal title#523

Merged
lhecker merged 4 commits into
microsoft:mainfrom
adamjoer:terminal-title-dirty-indicator
Jul 2, 2025
Merged

Indicate unsaved work with U+25CF in the terminal title#523
lhecker merged 4 commits into
microsoft:mainfrom
adamjoer:terminal-title-dirty-indicator

Conversation

@adamjoer

Copy link
Copy Markdown
Contributor

Fixes #522

This is a small change that ensures that files that have unsaved changes are shown in the terminal title with an asterisk. It's updated on each change and undo/redo action:

demo.mp4

@adamjoer

Copy link
Copy Markdown
Contributor Author

@microsoft-github-policy-service agree

adamjoer and others added 3 commits June 27, 2025 17:34
Before we changed the title on each input. Now it is only changed when
filename or dirtiness changes.
@lhecker lhecker requested a review from DHowett July 2, 2025 15:40
@lhecker

lhecker commented Jul 2, 2025

Copy link
Copy Markdown
Member

I made some adjustments to avoid the String copy. I also changed it to use U+25CF because that matches VS Code.

@lhecker lhecker changed the title Indicate unsaved work with asterisk in terminal title Indicate unsaved work with U+25CF in the terminal title Jul 2, 2025

@DHowett DHowett left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks both of you!

@lhecker lhecker merged commit dd61854 into microsoft:main Jul 2, 2025
3 checks passed
Lou32Verbose pushed a commit to Lou32Verbose/edit that referenced this pull request Jan 11, 2026
Co-authored-by: Leonard Hecker <leonard@hecker.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indicate unsaved changes in the terminal title

3 participants