From 50b2fbfeef38e66db56a2b70b3876652ae074150 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 5 Jun 2024 14:48:19 +0200 Subject: [PATCH] vert --- cd.sh | 6 +++--- cd/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cd.sh b/cd.sh index 8a08afe..1d4b2c5 100644 --- a/cd.sh +++ b/cd.sh @@ -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}" diff --git a/cd/__init__.py b/cd/__init__.py index 97c2196..f3ab569 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -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)