This commit is contained in:
Marc Beninca 2024-06-04 22:13:57 +02:00
parent 4be860e4cd
commit 5a55cfba16
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

12
cd.sh
View file

@ -573,6 +573,9 @@ ${CD_PYTHON_PACKAGES}
cd_write_python_module () {
cd_step "Write Python module"
cd_write "${CD_PYTHON_PACKAGES}/env.py" "\
STEP = ${CD_STEP}
$(cd_echo CD_OS_ID CD_OS_VERSION)
@ -580,7 +583,14 @@ $(cd_echo CD_OPEN CD_SHUT)
$(cd_echo CD_HORIZONTAL)
$(cd_echo CD_DOWN CD_SPLIT CD_UP)
$(cd_echo CD_SPLIT)
def step(*arguments):
STEP += 1
print('${CD_DOWN}')
print('${CD_BOX_VERTICAL}', STEP, *arguments)
print('${CD_UP}', flush=True)
"
}