2021-02-10 22:14:09 +01:00
|
|
|
|
: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
|
2021-02-19 10:34:48 +01:00
|
|
|
|
-n UTF-8 -d headline -p l3r2 -r
|
2021-02-10 22:14:09 +01:00
|
|
|
|
:INPUT
|
|
|
|
|
/**************************/
|
|
|
|
|
/* [38;5;44mf [0m[38;5;49mo [0m[38;5;48mo [0m[38;5;83m [0m[38;5;118m海 [0m[38;5;154m [0m[38;5;184mb [0m[38;5;214ma [0m[38;5;208mr [0m */
|
2021-02-14 14:38:00 +01:00
|
|
|
|
/* f o o b a r */
|
2021-02-10 22:14:09 +01:00
|
|
|
|
/**************************/
|
|
|
|
|
:OUTPUT-FILTER
|
|
|
|
|
:EXPECTED
|
|
|
|
|
[38;5;44mf[0m[38;5;49mo[0m[38;5;48mo[0m[38;5;83m [0m[38;5;118m海[0m[38;5;154m [0m[38;5;184mb[0m[38;5;214ma[0m[38;5;208mr[0m
|
2021-02-14 14:38:00 +01:00
|
|
|
|
foobar
|
2021-02-10 22:14:09 +01:00
|
|
|
|
:EOF
|