tests: test the conflict of color9 vs COL_INVIS

pull/4/head
Koichi Murase 7 months ago
parent 4d7dad2a79
commit 7e4ab152a5
  1. 11
      tests/colors_regression.sh
  2. 1
      tests/tests.results

@ -0,0 +1,11 @@
#!/bin/sh
# Regression test for color 9 confused with COL_INVIS
# (cf https://github.com/borisfaure/terminology/issues/95)
printf '\033[38;5;9mhello\033[0m\n'
# By using the window manipulation sequence, we induce "termpty_resize
# (termpty.c:1339)" where "termpty_line_length (termpty.c:949)" is used .
# "termpty_line_length" uses "_termpty_cell_is_empty" that had a bug.
printf '\033[8;25;132t'
printf '\033[8;25;80t'

@ -31,6 +31,7 @@ dsr-os.sh 0c233ebe0c97c3650b507e927ec92abf
dsr-pp.sh 35733eed0b451ad87357a22d189ac26f
dsr-udk.sh f53a390493267764cdc7c488d51e55ec
colors.sh 103d3e6b2e89424ff886576cfaeb5d55
colors_regression.sh 5521278732a4c3fc299e3940f620d0c2
sgr-leading-trailing-semicolon.sh 57d81e2a5e70188911bff0c166a5be56
sgr-truecolors.sh b7b8981b7f44c1cba656e6aa3a1b928f
hang-invalid-truecolors.sh 6d3f407a3fc877e7687a1ed4022c300d

Loading…
Cancel
Save