Update vcsaDriver.py
This commit is contained in:
parent
a54e053f91
commit
c3ab4fabcb
@ -189,8 +189,9 @@ 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'])
|
||||||
if vcsuContent != None:
|
# VCSU seems to give b' ' instead of b'\x00\x00\x00' (tsp), deactivated until its fixed
|
||||||
eventData['text'] = screen_utils.insertNewlines(vcsuContent.decode('UTF-32', 'replace'), eventData['columns'])
|
#if vcsuContent != None:
|
||||||
|
# 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 = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user