about summary refs log tree commit diff
path: root/example_escs.py
Commit message (Collapse)AuthorAgeFilesLines
* Move example_escs.py to contrib/Sören Tempel2021-07-151-107/+0
|
* example_escs.py: add script to test SGR escape sequencessterni2021-07-151-0/+107
This script emits most of the SGR escape sequences supported by saneterm, so rendering of them can easily be tested. It is not a perfect test case since it only emits nested sequences in a limited fashion. Similar test tools: * sgr-test.sh from vte: https://gitlab.gnome.org/GNOME/vte/-/blob/c17e6d12da00a94c3768be6671182a6a039ec0c0/perf/sgr-test.sh * 256test.sh from vte: https://gitlab.gnome.org/GNOME/vte/-/blob/c17e6d12da00a94c3768be6671182a6a039ec0c0/perf/256test.sh * msgcat --color=test from gettext (only uses 16 colors, sequences for some text styles are broken like italic and underline sometimes) * lolcat -t [-i] is useful for testing true color support