[PR #17] [MERGED] ColorTool: Restore old console colors after printing the color table #24043

Open
opened 2026-01-31 09:01:04 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/17
Author: @metathinker
Created: 8/14/2017
Status: Merged
Merged: 8/15/2017
Merged by: @zadjii-msft

Base: masterHead: master


📝 Commits (1)

  • 4964aad ColorTool: Restore old console colors after printing the console table

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 tools/ColorTool/ColorTool/Program.cs (+4 -0)

📄 Description

Unfortunately, when you run .\colortool.exe --current, you might notice that the color of the prompt printed after the program finishes is slightly different from what it was before you ran the program.

This changelist fixes the issue by restoring the old console colors after the program finishes printing the color table.

Testing: manual


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/17 **Author:** [@metathinker](https://github.com/metathinker) **Created:** 8/14/2017 **Status:** ✅ Merged **Merged:** 8/15/2017 **Merged by:** [@zadjii-msft](https://github.com/zadjii-msft) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`4964aad`](https://github.com/microsoft/terminal/commit/4964aad780bc58b8f6ec4c049ea388e3dc61b042) ColorTool: Restore old console colors after printing the console table ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tools/ColorTool/ColorTool/Program.cs` (+4 -0) </details> ### 📄 Description Unfortunately, when you run `.\colortool.exe --current`, you might notice that the color of the prompt printed after the program finishes is slightly different from what it was before you ran the program. This changelist fixes the issue by restoring the old console colors after the program finishes printing the color table. Testing: manual --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:01:04 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#24043