CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Terminal colors not as expected

Open danieltaylor opened this issue 2 years ago • 0 comments

Description

Not sure if this is a theming issue or something else, but out of the box the terminal colors aren't what I would expect them to be, at least for the command npm audit in this case.

Here is a side by side of what the results of running this command look like in CodeEdit vs Terminal:

Screenshot 2023-02-03 at 3 55 19 PM

As you can see, "Moderate" and "Critical" both show up as blue text in the integrated terminal, which is bad because (1) it does not reflect the different severities of the vulnerabilities and (2) it is near impossible to read on the black background.

To Reproduce

  1. Run a command with color output (such as npm audit in a project with vulnerabilities).

I'm not sure if this issue shows up across other commands with color output or just certain ones. Running ls with colors turned on and configured via vivid (essentially setting the LS_COLORS env var) seems to produce the expected colors. I would be interested in knowing if anyone has seen similar issues with other commands or at least can reproduce the issue with the command above.

Expected behavior

By default, the integrated terminal colors should match or at least be similar to the defaults for other terminals, in this case specifically for npm audit.

Version information

CodeEdit: 1.0-alpha25 macOS: 13.1

Additional context

No response

danieltaylor avatar Feb 03 '23 23:02 danieltaylor