everything you ever wanted to know about terminals
http://xn--rpa.cc/irl/term.html [xn--rpa.cc]
2019-08-24 18:21
the way terminal emulators handle fancy things like color and cursor shape aren’t some mysterious opaque black box you can only access through a library. accessing these capabilities is actually extremely simple; they can even be hardcoded into a text file and displayed by cat or less. or even curl! the way you do this is with something called ANSI escape sequences.
source: L