Closed ispyhumanfly closed 3 years ago
Honestly this implementation is good. But Synchronet does provide some excellent built in functionality here too. I may switch over to that.
I'm going to consider this resolved. However, I do feel that using synchrony's built in color functions is the best course in the future. I'll create another ticket I think.
This is really about extending the String prototype to allow for ANSI color sequences. Basically something like
message.color("background red")
A lot of my work is deriving from some ideas from this article: https://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html#colors