Update charmapTTY.py
This commit is contained in:
parent
629e90938c
commit
4772ebf11a
@ -36,7 +36,6 @@ def updateCharMap(screen):
|
|||||||
def autoDecodeVCSA(allData):
|
def autoDecodeVCSA(allData):
|
||||||
allText = []
|
allText = []
|
||||||
allAttrib = []
|
allAttrib = []
|
||||||
print(time.time() -s )
|
|
||||||
for y in range(rows):
|
for y in range(rows):
|
||||||
lineText = ''
|
lineText = ''
|
||||||
lineAttrib = []
|
lineAttrib = []
|
||||||
@ -44,9 +43,10 @@ def autoDecodeVCSA(allData):
|
|||||||
for x in range(cols):
|
for x in range(cols):
|
||||||
data = allData[i: i + 2]
|
data = allData[i: i + 2]
|
||||||
if data == b' \x07':
|
if data == b' \x07':
|
||||||
attr = 7
|
#attr = 7
|
||||||
ink = 7
|
#ink = 7
|
||||||
paper = 0
|
#paper = 0
|
||||||
|
#ch = ' '
|
||||||
lineAttrib.append(7)
|
lineAttrib.append(7)
|
||||||
lineText += ' '
|
lineText += ' '
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user