Update screenManager.py

This commit is contained in:
chrys87 2016-12-15 10:23:29 +01:00 committed by GitHub
parent 90d18609ba
commit 13b762ed9b

View File

@ -58,7 +58,13 @@ class screenManager():
for line in windowList: for line in windowList:
windowText += line[self.env['commandBuffer']['windowArea'][currApp]['1']['x']:self.env['commandBuffer']['windowArea'][currApp]['2']['x'] + 1] + '\n' windowText += line[self.env['commandBuffer']['windowArea'][currApp]['1']['x']:self.env['commandBuffer']['windowArea'][currApp]['2']['x'] + 1] + '\n'
return windowText return windowText
def injectTextToScreen(self, text):
try:
self.env['runtime']['screenDriver'].injectTextToScreen(text)
except Exception as e:
pass
def changeBrailleScreen(self): def changeBrailleScreen(self):
if not self.env['runtime']['brailleDriver']: if not self.env['runtime']['brailleDriver']:
return return