From ba6826284f1e076097493bf7711a1aaaf5520fce Mon Sep 17 00:00:00 2001 From: chrys Date: Tue, 20 Aug 2019 12:03:49 +0200 Subject: [PATCH] Update ptyDriver.py --- src/fenrirscreenreader/screenDriver/ptyDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fenrirscreenreader/screenDriver/ptyDriver.py b/src/fenrirscreenreader/screenDriver/ptyDriver.py index 22727e64..61c65a30 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -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