py/split
This commit is contained in:
parent
916b7a56cd
commit
d6f00d6945
2 changed files with 7 additions and 5 deletions
8
cd.sh
8
cd.sh
|
@ -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)
|
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue