diff --git a/cd.sh b/cd.sh index 70add07..a66889d 100644 --- a/cd.sh +++ b/cd.sh @@ -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) " }