still broken, but closer to move cursor to bottom.

This commit is contained in:
Storm Dragon 2016-09-11 17:27:37 -04:00
parent 4bd64bf4fa
commit a752e91b22
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
1-KEY_LEFTCTRL=shut_up 1-KEY_LEFTCTRL=shut_up
1-FENRIR,1-KEY_RIGHTCTRL=shut_up 1-FENRIR,1-KEY_RIGHTCTRL=shut_up
1-FENRIR,1-KEY_KPENTER=review_BOTTOM 1-FENRIR,1-KEY_KPENTER=review_bottom
1-FENRIR,1-KEY_KPPLUS=review_top 1-FENRIR,1-KEY_KPPLUS=review_top
1-FENRIR,1-KEY_KP8=curr_line 1-FENRIR,1-KEY_KP8=curr_line
1-FENRIR,1-KEY_KP7=prev_line 1-FENRIR,1-KEY_KP7=prev_line

View File

@ -1,11 +1,10 @@
#!/bin/python #!/bin/python
from utils import char_utils
class command(): class command():
def __init__(self): def __init__(self):
pass pass
def run(self, environment): def run(self, environment):
environment['screenData']['newCursorReview'] = {'x':environment [screenData][columns],'y':0} environment['screenData']['newCursorReview'] = {'x':0,'y':environment[screenData][lines]}
environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True) environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True)
return environment return environment