Fix xterm in pyte

This commit is contained in:
Michael Taboada 2019-08-12 17:48:49 -07:00
parent c843bf313c
commit 52adc37434

View File

@ -20,7 +20,7 @@ class Terminal:
def __init__(self, columns, lines, p_in): def __init__(self, columns, lines, p_in):
self.text = '' self.text = ''
self.attributes = None self.attributes = None
self.screen = pyte.HistoryScreen(columns, lines) self.screen = fenrirScreen(columns, lines)
self.screen.set_mode(pyte.modes.LNM) self.screen.set_mode(pyte.modes.LNM)
self.screen.write_process_input = \ self.screen.write_process_input = \
lambda data: p_in.write(data.encode()) lambda data: p_in.write(data.encode())