improve output of exit_review
This commit is contained in:
parent
f0039f957e
commit
3f9880097c
@ -11,9 +11,9 @@
|
||||
1-FENRIR,1-KEY_KP3=next_char
|
||||
1-FENRIR,1-KEY_KPDOT=exit_review
|
||||
1-FENRIR,1-KEY_J=cursor_position
|
||||
#=curr_screen
|
||||
#=curr_screen_before_cursor
|
||||
#=curr_screen_after_cursor
|
||||
1-FENRIR,1-KEY_U=curr_screen
|
||||
1-FENRIR,1-KEY_I=curr_screen_before_cursor
|
||||
1-FENRIR,1-KEY_O=curr_screen_after_cursor
|
||||
1-FENRIR,1-KEY_P=indent_curr_line
|
||||
#=last_incomming
|
||||
1-FENRIR,1-KEY_F2=toggle_braille
|
||||
|
@ -4,6 +4,11 @@ class command():
|
||||
def __init__(self):
|
||||
pass
|
||||
def run(self, environment):
|
||||
if (environment['screenData']['oldCursorReview'] == None) and \
|
||||
(environment['screenData']['newCursorReview'] == None):
|
||||
environment['runtime']['outputManager'].presentText(environment, "Not in review mode", interrupt=True)
|
||||
return environment
|
||||
|
||||
environment['screenData']['oldCursorReview'] = None
|
||||
environment['screenData']['newCursorReview'] = None
|
||||
environment['runtime']['outputManager'].presentText(environment, "leve review mode", interrupt=True)
|
||||
|
Loading…
Reference in New Issue
Block a user