Update screenManager.py

This commit is contained in:
chrys87 2016-12-15 10:33:52 +01:00 committed by GitHub
parent df0d505d37
commit 7fe6dedb6f

View File

@ -59,9 +59,9 @@ class screenManager():
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): def injectTextToScreen(self, text, screen = None):
try: try:
self.env['runtime']['screenDriver'].injectTextToScreen(text) self.env['runtime']['screenDriver'].injectTextToScreen(text, screen)
except Exception as e: except Exception as e:
pass pass