box/right,up

This commit is contained in:
Marc Beninca 2024-06-04 18:53:29 +02:00
parent 461c798983
commit 1c45fd6ff6
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

6
cd.sh
View file

@ -688,7 +688,7 @@ shift
cd_split () {
echo -n "\
${CD_BOX_HORIZONTAL}
${CD_BOX_RIGHT}${CD_BOX_HORIZONTAL}
"
}
@ -697,7 +697,7 @@ cd_step () {
echo -n "\
${CD_BOX_DOWN}${CD_BOX_HORIZONTAL}
${CD_BOX_VERTICAL} ${CD_STEP} ${@}
${CD_BOX_HORIZONTAL}
${CD_BOX_UP}${CD_BOX_HORIZONTAL}
"
}
@ -717,6 +717,8 @@ local text="${2}"
CD_BOX_DOWN="╭"
CD_BOX_HORIZONTAL="─╌╌┄┄┈┈"
CD_BOX_LEFT="╴"
CD_BOX_RIGHT="╶"
CD_BOX_UP="╰"
CD_BOX_VERTICAL="│"
CD_ERROR_CI=2