From 0f0dc5a19118f31eda256d0c32ef7668de976260 Mon Sep 17 00:00:00 2001 From: chrys Date: Fri, 16 Mar 2018 00:22:30 +0100 Subject: [PATCH] try to fix first startup --- src/fenrir/screenDriver/vcsaDriver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fenrir/screenDriver/vcsaDriver.py b/src/fenrir/screenDriver/vcsaDriver.py index 5330bd24..25ca4680 100644 --- a/src/fenrir/screenDriver/vcsaDriver.py +++ b/src/fenrir/screenDriver/vcsaDriver.py @@ -324,6 +324,8 @@ class driver(screenDriver): self.env['screen']['newCursorAttrib'] = None self.env['screen']['oldNegativeDelta'] = '' # initialize current deltas + if self.env['screen']['oldTTY'] == None: + self.env['screen']['oldTTY'] = self.env['screen']['newTTY'] self.env['screen']['newNegativeDelta'] = '' self.env['screen']['newDelta'] = '' self.env['screen']['newAttribDelta'] = ''