Update ptyDriver.py

This commit is contained in:
chrys 2019-08-20 12:03:49 +02:00 committed by GitHub
parent 181c9bd2fe
commit ba6826284f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ class driver(screenDriver):
eventQueue.put({"Type":fenrirEventType.ScreenUpdate,
"Data":screen_utils.createScreenEventData(self.terminal.GetScreenContent())
})
os.write(sys.stdout.fileno(), msgBytes)
self.injectTextToScreen(msgBytes, screen=sys.stdout.fileno(),)
except Exception as e: # Process died?
print(e)
active.value = False