boxes/test/114_headline_ansi_unicode_remove.txt

19 lines
798 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

: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