tests: add one on window resize where the content is not wrapped

This commit is contained in:
Boris Faure 2019-03-01 13:28:14 +01:00
parent f0605c697d
commit 5c4cf2ea38
2 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,58 @@
#!/bin/sh
# char width: 7
# char height: 15
# clear screen
printf '\033[2J'
# set color
printf '\033[46;31;3m'
printf '\033[2;0Halpha'
printf '\033[2;25Hbravo'
printf '\033[3;0Hcharlie'
printf '\033[3;25Hdela'
printf '\033[4;0Hecho'
printf '\033[4;25Hfoxtrot'
printf '\033[5;0Hgolf'
printf '\033[5;25Hhotel'
printf '\033[6;0Hindia'
printf '\033[6;25Hjuliett'
printf '\033[7;0Hkilo'
printf '\033[7;25Hlima'
printf '\033[8;0Hmike'
printf '\033[8;25Hnovemger'
printf '\033[9;0Hoscar'
printf '\033[9;25Hpap'
printf '\033[10;0Hquebec'
printf '\033[10;25Hromeo'
printf '\033[11;0Hsierra'
printf '\033[11;25Htango'
printf '\033[12;0Huniform'
printf '\033[12;25Hvictor'
printf '\033[13;0Hwhiskey'
printf '\033[13;25Hxray'
printf '\033[14;0Hyankee'
printf '\033[14;25Hzulu'
# force render
printf '\033}tr\0'
#resize window to half width (shall display the same)
printf '\033[8;40;;t'
# force render
printf '\033}tr\0'

View File

@ -101,3 +101,4 @@ selection_box_to_position.sh 0174fb1d413f19f32e68e31439335d97
selection_box_to_word.sh 0174fb1d413f19f32e68e31439335d97
selection_box_to_paragraph.sh 7b918d2af64eef1ecb39a0f45cf72f2d
selection_invalidation_line_removed.sh 8d689636f976b044dfbf6af6b3333093
resize_window_no_content_change.sh 28d45fe49c686c8c98631cce8e4bd368