Skip to content
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

Add support for 256 truecolor #13853

Merged

Conversation

sgraband
Copy link
Contributor

What it does

Beforehand the terminfo[colors] and COLORTERM were not set properly. The terminal already supports 256 truecolor, but cli tools might not use it, as the env variables were not set correctly. This is fixed with this PR, the color is not set to 256 and COLORTERM is set to truecolor.

Fixes #13523.

How to test

  1. Start the application
  2. Open the terminal
  3. Run print $terminfo[colors] and echo $COLORTERM
  4. Observe that the output is 256 and truecolor respectively.

Follow-ups

Review checklist

Reminder for reviewers

Beforehand the `terminfo[colors]` and `COLORTERM` were not set properly.
The terminal already supports 256 truecolor, but cli tools might not use it, as the env variables were not set correctly.
This is fixed with this PR, the color is not set to `256` and `COLORTERM` is set to `truecolor`.

Fixes eclipse-theia#13523.
@tsmaeder tsmaeder merged commit 71a1235 into eclipse-theia:master Jul 3, 2024
14 checks passed
@sgraband sgraband added this to the 1.52.0 milestone Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Feature Request: Add Support For 256 Truecolor
2 participants