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
Start the application
Open the terminal
Run print $terminfo[colors] and echo $COLORTERM
Observe that the output is 256 and truecolor respectively.
Follow-ups
Review checklist
[x] As an author, I have thoroughly tested my changes and carefully followed the review guidelines
What it does
Beforehand the
terminfo[colors]
andCOLORTERM
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 to256
andCOLORTERM
is set totruecolor
.Fixes #13523.
How to test
print $terminfo[colors]
andecho $COLORTERM
256
andtruecolor
respectively.Follow-ups
Review checklist
Reminder for reviewers