Added command to move to top left.
This commit is contained in:
parent
309e122b67
commit
d4e59eafba
17
src/fenrir-package/commands/commands/top_left.py
Normal file
17
src/fenrir-package/commands/commands/top_left.py
Normal file
@ -0,0 +1,17 @@
|
||||
#!/bin/python
|
||||
from utils import char_utils
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
environment['screenData']['newCursorReview'] = 'x:0,y:0'
|
||||
|
||||
environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currChar = \
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, "Top Left", interrupt=True)
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user