0da354d0a2
These are a set of specially-crafted text files designed to exercise most of the corner cases in the Unicode support code, particularly FullUnicodeLine.setChar()'s support for overwriting screen columns with changes in sequence lengths and display widths. For best (worst?) results, use the tests in vttest mode; the lines of exactly 80 columns will be more likely to uncover bugs that way.
17 lines
559 B
Plaintext
17 lines
559 B
Plaintext
Overwriting an East Asian wide character with a narrow character:
|
||
|
||
中国 ESC [ 2 D x:
|
||
中国[2Dx
|
||
|
||
xxx中文 ESC [ 2 D x:
|
||
xxx中文[2Dx
|
||
|
||
Overwriting an East Asian wide character with a narrow character, in the middle
|
||
of an 80-column line with mixed narrow and wide chars:
|
||
|
||
xxx[...]xxx中文xxx[...]xxx你好xESC [ 23 G y:
|
||
xxxxxxxxxxxxxxxxxxxx中文xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx你好x[23Gy
|
||
|
||
xxx[...]xxx中文。xxx[...]xxx你好ESC [ 23 G y:
|
||
xxxxxxxxxxxxxxxxxxxx中文。xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx你好[23Gy
|