boxes/test/114_headline_ansi_unicode_remove.txt

19 lines
798 B
Plaintext
Raw Normal View History

:DESC
Tests removal of a box of the 'headline' design from unicode text with ANSI color escapes added by lolcat.
Indentation is restored, by "coloring" of spaces is lost.
Indentation is correctly restored as 3 spaces, because we give -p, telling it what the requested padding was when the
box was created.
:ARGS
-n UTF-8 -d headline -p l3r2 -r
:INPUT
/**************************/
/* f o o  海  b a r  */
/* f o o b a r */
/**************************/
:OUTPUT-FILTER
:EXPECTED
foo 海 bar
foobar
:EOF