This commit is contained in:
Marc Beninca 2024-06-05 11:45:41 +02:00
parent 916b7a56cd
commit d6f00d6945
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 7 additions and 5 deletions

8
cd.sh
View file

@ -578,8 +578,10 @@ STEP = ${CD_STEP}
$(cd_echo CD_OS_ID CD_OS_VERSION) $(cd_echo CD_OS_ID CD_OS_VERSION)
DOWN = \"${CD_DOWN}\" DOWN = \"${CD_DOWN}\"
UP = \"${CD_UP}\"
VERTICAL = \"${CD_BOX_VERTICAL}\" VERTICAL = \"${CD_BOX_VERTICAL}\"
UP = \"${CD_UP}\"
SPLIT = \"${CD_SPLIT}\"
def open(*arguments): def open(*arguments):
@ -590,10 +592,6 @@ def open(*arguments):
def shut(*arguments): def shut(*arguments):
print('${CD_SHUT}', end=str()) print('${CD_SHUT}', end=str())
print(*arguments, flush=True) print(*arguments, flush=True)
def split():
print('${CD_SPLIT}', flush=True)
" "
} }

View file

@ -109,6 +109,10 @@ def set_ssh(*arguments):
os.chmod(known, 0o400) os.chmod(known, 0o400)
def split():
print(env.SPLIT, flush=True)
def step(*arguments): def step(*arguments):
env.STEP += 1 env.STEP += 1
print(env.DOWN) print(env.DOWN)