Skip to content

How to write in color? #4416

Answered by jerch
iliakan asked this question in Q&A
Feb 16, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

And how was your output different from your expectations? If the colors dont show up, you prolly have a mistake in the sequences yeah.
(Note the "\e" in the examples above is the ESCAPE character, which you have to code in a way Javascript understands, eg. as "\x1b")

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iliakan
Comment options

Answer selected by iliakan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants