This commit is contained in:
Marc Beninca 2024-06-05 14:48:19 +02:00
parent b6b8e03b50
commit 50b2fbfeef
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 4 additions and 4 deletions

6
cd.sh
View file

@ -577,7 +577,7 @@ CD_STEP = ${CD_STEP}
$(cd_echo CD_OPEN)
$(cd_echo CD_DOWN)
$(cd_echo CD_VERTICAL CD_SPLT)
$(cd_echo CD_VERT CD_SPLT)
$(cd_echo CD_UP)
$(cd_echo CD_SHUT)
@ -712,7 +712,7 @@ cd_step () {
CD_STEP=$((CD_STEP+1))
echo -n "\
${CD_DOWN}
${CD_VERTICAL} ${CD_STEP} ${@}
${CD_VERT} ${CD_STEP} ${@}
${CD_UP}
"
}
@ -757,7 +757,7 @@ CD_OPEN="${CD_BOX_DOWN}${CD_BOX_LEFT}"
CD_SHUT="${CD_BOX_UP}${CD_BOX_LEFT}"
CD_HORIZONTAL="${CD_BOX_HORIZONTAL}╌╌┄┄┈┈"
CD_VERTICAL="${CD_BOX_VERTICAL}"
CD_VERT="${CD_BOX_VERTICAL}"
CD_DOWN="${CD_BOX_DOWN}${CD_HORIZONTAL}"
CD_SPLT="${CD_BOX_RIGHT}${CD_HORIZONTAL}"

View file

@ -127,5 +127,5 @@ def split():
def step(*arguments):
env.CD_STEP += 1
print(env.CD_DOWN)
print(env.CD_VERTICAL, env.CD_STEP, *arguments)
print(env.CD_VERT, env.CD_STEP, *arguments)
print(env.CD_UP, flush=True)