open,shut
This commit is contained in:
parent
c1eaf978d7
commit
27a9b419d9
2 changed files with 23 additions and 21 deletions
|
@ -110,12 +110,22 @@ def set_ssh(*arguments):
|
|||
os.chmod(known, 0o400)
|
||||
|
||||
|
||||
def open(*arguments):
|
||||
print(env.CD_OPEN, end=str())
|
||||
print(*arguments, flush=True)
|
||||
|
||||
|
||||
def shut(*arguments):
|
||||
print(env.CD_SHUT, end=str())
|
||||
print(*arguments, flush=True)
|
||||
|
||||
|
||||
def split():
|
||||
print(env.SPLIT, flush=True)
|
||||
print(env.CD_SPLIT, flush=True)
|
||||
|
||||
|
||||
def step(*arguments):
|
||||
env.STEP += 1
|
||||
print(env.DOWN)
|
||||
print(env.VERTICAL, env.STEP, *arguments)
|
||||
print(env.UP, flush=True)
|
||||
env.CD_STEP += 1
|
||||
print(env.CD_DOWN)
|
||||
print(env.CD_VERTICAL, env.CD_STEP, *arguments)
|
||||
print(env.CD_UP, flush=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue