microsoft / microsoft/terminal

Propagate palette changes on the legacy console through ConPTY w/ OSC 4

Open
#2,985 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-VT Help Wanted Issue-Task Product-Conpty
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

Environment

Windows build number: Microsoft Windows [Versione 10.0.18362.356]
Windows Terminal version (if applicable): 0.5.2681.0

Any other software?
FiveM CitizenFX collective GTA Modification server Build

Steps to reproduce

using the library Colorful.Console in a c# project the output color in console is different from the color requested and in the original CMD color is correctly interpreted

Expected behavior

i expect colors to be shown correctly

Actual behavior

Colors are not correctly shown

image

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the color mismatch with the Colorful.Console C# project through the legacy console and ConPTY, comparing the result with original CMD. Investigate OSC 4 palette propagation; done means requested console colors are rendered consistently rather than incorrectly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.