Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 2, 2025

Conversation

adamjoer
Copy link
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
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
Copy link
Member

lhecker commented Jul 2, 2025

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
Copy link
Member

@DHowett DHowett left a comment

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