improve set/clear window mode commands
This commit is contained in:
parent
c05382e828
commit
bfcd32465b
@ -23,7 +23,7 @@ KEY_FENRIR,KEY_KP8=curr_screen_before_cursor
|
||||
KEY_FENRIR,KEY_KP2=curr_screen_after_cursor
|
||||
KEY_FENRIR,KEY_1=set_window_application
|
||||
KEY_FENRIR,KEY_3=clear_window_application
|
||||
KEY_FENRIR,KEY_3=clear_bookmark_1
|
||||
#KEY_FENRIR,KEY_3=clear_bookmark_1
|
||||
#KEY_FENRIR,KEY_1=set_bookmark_1
|
||||
KEY_FENRIR,KEY_2=bookmark_1
|
||||
KEY_KPPLUS=last_incomming
|
||||
|
@ -18,6 +18,7 @@ class command():
|
||||
|
||||
def run(self):
|
||||
if self.env['runtime']['cursorManager'].clearWindowForApplication():
|
||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||
self.env['runtime']['outputManager'].presentText('Window Mode off for application ' + currApp, interrupt=True)
|
||||
else:
|
||||
self.env['runtime']['outputManager'].presentText("Not in window Mode", interrupt=True)
|
||||
|
@ -18,6 +18,7 @@ class command():
|
||||
|
||||
def run(self):
|
||||
if self.env['runtime']['cursorManager'].setWindowForApplication():
|
||||
currApp = self.env['runtime']['applicationManager'].getCurrentApplication()
|
||||
self.env['runtime']['outputManager'].presentText('Window Mode on for application ' + currApp, interrupt=True)
|
||||
self.env['runtime']['cursorManager'].clearMarks()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user