fix some stuff
This commit is contained in:
parent
2dd92b7c68
commit
c313b2fee9
@ -199,23 +199,16 @@ class attributeManager():
|
||||
# background.append(bgStat[1][0])
|
||||
except Exception as e:
|
||||
print(e)
|
||||
print('start')
|
||||
#background.append((7,7,0,0,0,0))
|
||||
for line in range(len(newAttr)):
|
||||
print(len(textLines[line]))
|
||||
#print(line,len(newAttr), len(oldAttr))
|
||||
if oldAttr[line] != newAttr[line]:
|
||||
for column in range(len(newAttr[line])):
|
||||
#print(column,len(newAttr[line]))
|
||||
print(len(oldAttr[line]), len(newAttr[line]))
|
||||
for column in range(len(oldAttr[line])):
|
||||
if oldAttr[line][column] != newAttr[line][column]:
|
||||
print('jo')
|
||||
#if not self.isDefaultAttribute(newAttr[line][column]):
|
||||
#if not currCursor:
|
||||
#currCursor = {}
|
||||
#currCursor['x'] = column
|
||||
#currCursor['y'] = line
|
||||
#result += textLines[line][column]
|
||||
if not self.isDefaultAttribute(newAttr[line][column]):
|
||||
if not currCursor:
|
||||
currCursor = {}
|
||||
currCursor['x'] = column
|
||||
currCursor['y'] = line
|
||||
result += textLines[line][column]
|
||||
result += ' '
|
||||
print('end')
|
||||
return result, currCursor
|
||||
|
@ -196,7 +196,6 @@ class driver(screenDriver):
|
||||
allText = ''
|
||||
allAttrib = []
|
||||
i = 0
|
||||
print(rows)
|
||||
for y in range(rows):
|
||||
lineText = ''
|
||||
lineAttrib = []
|
||||
|
Loading…
Reference in New Issue
Block a user