Added review currsor to bottom command. in test as FENRIR+KPENTER.
This commit is contained in:
parent
828c6f9873
commit
4bd64bf4fa
@ -1,5 +1,6 @@
|
||||
1-KEY_LEFTCTRL=shut_up
|
||||
1-FENRIR,1-KEY_RIGHTCTRL=shut_up
|
||||
1-FENRIR,1-KEY_KPENTER=review_BOTTOM
|
||||
1-FENRIR,1-KEY_KPPLUS=review_top
|
||||
1-FENRIR,1-KEY_KP8=curr_line
|
||||
1-FENRIR,1-KEY_KP7=prev_line
|
||||
|
15
src/fenrir-package/commands/commands/review_bottom.py
Normal file
15
src/fenrir-package/commands/commands/review_bottom.py
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/python
|
||||
from utils import char_utils
|
||||
|
||||
class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
environment['screenData']['newCursorReview'] = {'x':environment [screenData][columns],'y':0}
|
||||
|
||||
environment['runtime']['outputManager'].presentText(environment, "Bottom", interrupt=True)
|
||||
return environment
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
def shutdown(self):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user