←back to thread

1369 points universesquid | 1 comments | | HN request time: 0.202s | source
Show context
tomxor ◴[] No.45170819[source]
Finally validated for writing my own damn ANSI escape codes.
replies(1): >>45173233 #
jmull ◴[] No.45173233[source]
Yeah, I get that learning the codes is a little annoying, but not actually harder than finding, incorporating, and learning one of the APIs here. Also one is standard while the other is not. Seems a bit nuts to use a package for this.
replies(2): >>45173971 #>>45184261 #
1. int_19h ◴[] No.45184261[source]
I would argue that ANSI color output should be something natively supported in stdlib for any general purpose or systems programming language today. Precisely for this reason - it has been a standard for a very long time, and for several years now (since Windows enabled it by default) it is a truly universal standard de facto as well. This is exactly the kind of stuff that stdlib should cover.