reenable VCSU

This commit is contained in:
Chrys 2019-08-22 21:04:58 +02:00
parent 6bf7ad6b74
commit 48ab30a370

View File

@ -208,8 +208,8 @@ class driver(screenDriver):
eventData['text'], eventData['attributes'] =\ eventData['text'], eventData['attributes'] =\
self.autoDecodeVCSA(vcsaContent[4:], eventData['lines'], eventData['columns']) self.autoDecodeVCSA(vcsaContent[4:], eventData['lines'], eventData['columns'])
# VCSU seems to give b' ' instead of b'\x00\x00\x00' (tsp), deactivated until its fixed # VCSU seems to give b' ' instead of b'\x00\x00\x00' (tsp), deactivated until its fixed
#if vcsuContent != None: if vcsuContent != None:
# eventData['text'] = screen_utils.insertNewlines(vcsuContent.decode('UTF-32', 'replace'), eventData['columns']) eventData['text'] = screen_utils.insertNewlines(vcsuContent.decode('UTF-32', 'replace'), eventData['columns'])
return eventData.copy() return eventData.copy()
def updateCharMap(self, screen): def updateCharMap(self, screen):
self.charmap = {} self.charmap = {}