[PR #1237] [MERGED] Initializes conhost's Campbell color scheme in conhost order instead of ANSI/VT order #24538

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/1237
Author: @zadjii-msft
Created: 6/12/2019
Status: Merged
Merged: 7/25/2019
Merged by: @undefined

Base: masterHead: dev/migrie/b/1234-colortable-order


📝 Commits (4)

  • 60d9c9d Fix this
  • 6513c72 Merge branch 'master' into dev/migrie/b/1234-colortable-order
  • dc6caa2 Swap the elements instead of having two whole tables
  • 6a9c96f Add a unittest to make @miniksa happy

📊 Changes

4 files changed (+92 additions, -27 deletions)

View changed files

📝 src/host/settings.cpp (+2 -2)
📝 src/types/inc/utils.hpp (+2 -0)
📝 src/types/ut_types/UtilsTests.cpp (+57 -24)
📝 src/types/utils.cpp (+31 -1)

📄 Description

Summary of the Pull Request

Switch conhost back to BGR order instead of RGB order.

PR Checklist

Validation Steps Performed

I ran openvt, as shown in the original bug


🔄 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/1237 **Author:** [@zadjii-msft](https://github.com/zadjii-msft) **Created:** 6/12/2019 **Status:** ✅ Merged **Merged:** 7/25/2019 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `dev/migrie/b/1234-colortable-order` --- ### 📝 Commits (4) - [`60d9c9d`](https://github.com/microsoft/terminal/commit/60d9c9d6f7b63dc5c93468bc357929c27d554f48) Fix this - [`6513c72`](https://github.com/microsoft/terminal/commit/6513c72367a2a0832cb1e2273028c91b3924af5c) Merge branch 'master' into dev/migrie/b/1234-colortable-order - [`dc6caa2`](https://github.com/microsoft/terminal/commit/dc6caa2ba8021a7c43d019aeba6523dec1b814b7) Swap the elements instead of having two whole tables - [`6a9c96f`](https://github.com/microsoft/terminal/commit/6a9c96f405379b13ebb6691d666d7856f2293bcf) Add a unittest to make @miniksa happy ### 📊 Changes **4 files changed** (+92 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `src/host/settings.cpp` (+2 -2) 📝 `src/types/inc/utils.hpp` (+2 -0) 📝 `src/types/ut_types/UtilsTests.cpp` (+57 -24) 📝 `src/types/utils.cpp` (+31 -1) </details> ### 📄 Description <!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Switch conhost back to BGR order instead of RGB order. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #1234 <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed I ran `openvt`, as shown in the original bug --- <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:03:53 +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#24538