boxes/test/179_remove_box_ansi_unicode.cfg

52 lines
3.2 KiB
INI
Raw Normal View History

2023-05-21 13:59:25 +02:00
# A partially colored box of unicode characters, including double-wide characters.
BOX designA
sample
┏━┳━━━━━━━━━━ 沐宸 若汐 ━━━━━━━━━┳━┓
┃ ┃ ┃ ┃
ほ┃ Lorem ipsum ┃ふ
げ┃ dolor sit amet ┃が
ほ┃ consectetur adipiscing elit, ┃ふ
げ┃ sed do eiusmod tempor. ┃が
┣━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━┫
┗━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━┛
ends
# Monochrome sample:
# ┏━┳━━━━━━━━━━ 沐宸 若汐 ━━━━━━━━━┳━┓
# ┃ ┃ ┃ ┃
# ほ┃ Lorem ipsum ┃ふ
# げ┃ dolor sit amet ┃が
# ほ┃ consectetur adipiscing elit, ┃ふ
# げ┃ sed do eiusmod tempor. ┃が
# ┣━╋━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╋━┫
# ┗━┻━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┻━┛
shapes {
n (" 沐宸 若汐 ",
" ")
nw ("┏━┳", "┃ ┃")
nnw ("━", " ")
nne ("━", " ")
ne ("┳━┓", "┃ ┃")
e ("┃ふ",
"┃が")
w ("ほ┃",
"げ┃")
se ("╋━┫",
"┻━┛")
s ("━", "━")
sw ("┣━╋", "┗━┻")
}
elastic (
nnw, nne, e, w, s
)
padding {
horiz 1
}
END designA