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

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