try to fix first startup

This commit is contained in:
chrys 2018-03-16 00:22:30 +01:00
parent d394390a8c
commit 0f0dc5a191

View File

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