improve set/clear window mode commands

This commit is contained in:
chrys
2016-09-24 23:05:28 +02:00
parent c05382e828
commit bfcd32465b
3 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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: