Skip to content

Terminal Colors do not function in output terminal #166

@arch-linux

Description

@arch-linux

I have noticed that when using Node.JS and attempting to utilize colors within it, the terminal removes the color from the output.

My scenario:

  • Module named "Colors" from NPM
  • console.log("Test".green)

Output:

Results in the output of Test uncolorized

image

Code:
`const colors = require("colors");
try{
console.log("Test".green);

} catch (error){
console.log(error);

}`

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions