From c843bf313cc0b49b0eb31f337797c4e272fe0cb9 Mon Sep 17 00:00:00 2001 From: Chrys Date: Tue, 13 Aug 2019 02:29:57 +0200 Subject: [PATCH] try to fix --- src/fenrirscreenreader/screenDriver/ptyDriver.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/fenrirscreenreader/screenDriver/ptyDriver.py b/src/fenrirscreenreader/screenDriver/ptyDriver.py index b59c34ae..c701b072 100644 --- a/src/fenrirscreenreader/screenDriver/ptyDriver.py +++ b/src/fenrirscreenreader/screenDriver/ptyDriver.py @@ -10,6 +10,12 @@ from fenrirscreenreader.core.eventData import fenrirEventType from fenrirscreenreader.core.screenDriver import screenDriver from fenrirscreenreader.utils import screen_utils + +class fenrirScreen(pyte.HistoryScreen): + def set_margins(self, *args, **kwargs): + kwargs.pop("private", None) + return super(fenrirScreen, self).set_margins(*args, **kwargs) + class Terminal: def __init__(self, columns, lines, p_in): self.text = ''