mirror of
https://github.com/ascii-boxes/boxes.git
synced 2024-12-12 18:01:14 +01:00
24 lines
2.2 KiB
Plaintext
24 lines
2.2 KiB
Plaintext
:DESC
|
||
Remove a box consisting of unicode characters, double-wide characters, and ansi escape codes,
|
||
while properly restoring tabbed indentation and handling the fact that the box is broken due to editing of the text
|
||
inside.
|
||
|
||
:ARGS
|
||
--config 180_remove_box_ansi_unicode_broken_indented.cfg --remove --tabs 4u
|
||
:INPUT
|
||
┏━┳━━━━━━━━━━ [38;5;154m沐[0m[38;5;184m宸[0m[38;5;184m [0m[38;5;184m若[0m[38;5;214m汐[0m ━━━━━━━━━┳━┓
|
||
┃ ┃ ┃ ┃
|
||
[38;5;63mほ[39m[38;5;63m┃[39m Lorem ipsum [38;5;44m┃[39m[38;5;44mふ[39m
|
||
[38;5;63mげ[39m[38;5;69m┃[39m dolor sit amet
|
||
[38;5;63mほ[39m[38;5;63m┃[39m consectetur adipiscing elit, [38;5;44m┃[39m[38;5;44mふ[39m
|
||
[38;5;63mげ[39m[38;5;69m┃[39m sed do eiusmod tempor. [38;5;43m┃[39m[38;5;49mが[39m
|
||
┣━╋[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m━[39m[38;5;49m╋[39m[38;5;48m━[39m[38;5;48m┫[39m
|
||
┗━┻[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m━[39m[38;5;48m┻[39m[38;5;48m━[39m[38;5;48m┛[39m
|
||
:OUTPUT-FILTER
|
||
:EXPECTED
|
||
Lorem ipsum
|
||
dolor sit amet
|
||
consectetur adipiscing elit,
|
||
sed do eiusmod tempor.
|
||
:EOF
|