Update screenManager.py
This commit is contained in:
parent
df0d505d37
commit
7fe6dedb6f
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user