From 52adc37434ca0491b039e0aaadc2d3b37638bc75 Mon Sep 17 00:00:00 2001 From: Michael Taboada Date: Mon, 12 Aug 2019 17:48:49 -0700 Subject: [PATCH] Fix xterm in pyte --- 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 c701b072..2fda1004 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -20,7 +20,7 @@ class Terminal: def __init__(self, columns, lines, p_in): self.text = '' self.attributes = None - self.screen = pyte.HistoryScreen(columns, lines) + self.screen = fenrirScreen(columns, lines) self.screen.set_mode(pyte.modes.LNM) self.screen.write_process_input = \ lambda data: p_in.write(data.encode())