Closed sal666 closed 4 years ago
How standard is using 2
to turn these off? Is it VT100 compatible?
My best guess is that it depends on the implementation. I've tested it on GNU bash both in PC (bash v5.0.3) and in Android (bash v5.0.7). Not everything worked fine in both scenarios. In the PC faint text did not work but it did in Android. Slow blink text did not work in Android but it did in the PC. Turning off a feature worked fine in both cases for modes supported in that specific platform, except for turning off bold text on Android which did not have any effect.
Here https://en.wikipedia.org/wiki/ANSI_escape_code you can find a complete list of SGR (Select Graphic Rendition) parameters. As a matter of fact, according with this list of codes your table could be completed with some more codes.
Sounds good to me. :+1:
Add a method to turn off text effects