I would like to use escape to represent control code to build a message with terminal color.
Can I use something like...
"\u001b[93m" or "\x1b[93m"
?
I would like to use escape to represent control code to build a message with terminal color.
Can I use something like...
"\u001b[93m" or "\x1b[93m"
?
Currently I am using this method:
val newargs = append-all([to-string(to-char(27)) CGREEN msg to-string(to-char(27)) CEND])
to-string(to-char(27)) is too clumsy. I am sure there is a better method.
You can see how this library implements terminal colors as a reference