[PR #2855] [MERGED] conhost: if we start with invalid terminal colors, reset them to sanity #25121

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/2855
Author: @DHowett-MSFT
Created: 9/23/2019
Status: Merged
Merged: 9/24/2019
Merged by: @miniksa

Base: masterHead: dev/duhowett/color_my_world


📝 Commits (2)

  • 65a6d08 conhost: if we start with invalid terminal colors, reset them to sanity
  • 0c04d42 Add some comments to the comments

📊 Changes

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

View changed files

📝 src/host/settings.cpp (+18 -0)

📄 Description

We've seen a number of cases where the user's settings can get corrupted
and their default foreground/background and cursor color get set to all
black (black on black). This results in a fairly unhappy user and
probably a great number of support incidents.

Let's declare that an invalid state.

Related to #2651.


🔄 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/2855 **Author:** [@DHowett-MSFT](https://github.com/DHowett-MSFT) **Created:** 9/23/2019 **Status:** ✅ Merged **Merged:** 9/24/2019 **Merged by:** [@miniksa](https://github.com/miniksa) **Base:** `master` ← **Head:** `dev/duhowett/color_my_world` --- ### 📝 Commits (2) - [`65a6d08`](https://github.com/microsoft/terminal/commit/65a6d08d87a3bdf4140d0d661bee83131e178c79) conhost: if we start with invalid terminal colors, reset them to sanity - [`0c04d42`](https://github.com/microsoft/terminal/commit/0c04d42792554e56e33d7a4dc60786562d52ef3d) Add some comments to the comments ### 📊 Changes **1 file changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/host/settings.cpp` (+18 -0) </details> ### 📄 Description We've seen a number of cases where the user's settings can get corrupted and their default foreground/background and cursor color get set to all black (black on black). This results in a fairly unhappy user and probably a great number of support incidents. Let's declare that an invalid state. Related to #2651. --- <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:07:25 +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#25121