How to write in color?
#4416
-
I tried to insert ANSI-color sequences from bash, listed at https://gist.github.com/JBlond/2fea43a3049b38287e5e9cefc87b2124, but the output is different from expected. Is it me doing something wrong? Anything special regarding |
Beta Was this translation helpful? Give feedback.
Answered by
jerch
Feb 19, 2023
Replies: 1 comment 1 reply
-
And how was your output different from your expectations? If the colors dont show up, you prolly have a mistake in the sequences yeah. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iliakan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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")