3 ms·
It is unclear to what extent the ANSI control codes are implemented. The README mentions SGR and the 24-bit color extensions in the nonstandard semicolon syntax
by blueflow 3y ago
It is unclear to what extent the ANSI control codes are implemented. The README mentions SGR and the 24-bit color extensions in the nonstandard semicolon syntax. What about cursor movements? Backspace? Overstriking?
Which "ANSI" did you use as reference?
- epage 3y ago> It is unclear to what extent the ANSI control codes are implemented. The demo helps a bit: https://kubetail-org.github.io/fancy-ansi/ https://kubetail-org.github.io/fancy-ansi/
- kevin_thibedeau 3y agoA travesty it's missing blink support.
- andres 3y agoCreated issue: https://github.com/kubetail-org/fancy-ansi/issues/2 https://github.com/kubetail-org/fancy-ansi/issues/2 Blink support would use CSS animations which requires a deeper level of integration than the other SGR parameters so I wanted to hold off until I could iterate over a solution with a user. If you'd like to use Fancy-ANSI with blink support, please let me know on GitHub and I can implement it fairly quickly.
- andres 3y agoThe library is focused on text styling so it only implements ANSI SGR parameters. I used this as a reference: https://en.wikipedia.org/wiki/ANSI_escape_code https://en.wikipedia.org/wiki/ANSI_escape_code The full list of supported SGR parameters is in the README: https://github.com/kubetail-org/fancy-ansi?tab=readme-ov-file#sgr-parameters https://github.com/kubetail-org/fancy-ansi?tab=readme-ov-fil... Let me know if you have any suggestions on how to make it clearer which subset of ANSI is supported.