ColorTool.exe -c results in a misaligned chart #17882
Labels
Area-User Interface
Issues pertaining to the user interface of the Console or Terminal
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Product-Colortool
This is a problem with the utility application ColorTool for manipulating the console color palette.
Milestone
Windows Terminal version
1.20.11781.0
Windows build number
10.0.19045.4780
Other Software
TCC v31.01.15 x64 command line
Steps to reproduce
Run
ColorTool.exe -c
to display the color chartExpected Behavior
A properly-aligned table
Actual Behavior
This [see image]:
It was possible to fix the alignment with
sed
:...but not in such a way that preserved the ANSI colors, which is the whole point of displaying this table.
I tried redirecting the output to a file so I could maybe fix it in postprocessing, but
ColorTool.exe
seems to detect if it is being redirected or piped, and the output has no color!! PerhapsColorTool
uses direct screen writes for changing colors, so they don't appear in a way that can be captured by redirect/pipe.If this chart would align properly, I'd have never fallen into the
sed
{andperl
} holes in trying to fix this 😂The text was updated successfully, but these errors were encountered: