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 = ''