disable attribute code until we finish it
This commit is contained in:
parent
93f0551131
commit
a1c01935fb
@ -36,11 +36,13 @@ class Terminal:
|
|||||||
cursor = self.screen.cursor
|
cursor = self.screen.cursor
|
||||||
allAttributes = []
|
allAttributes = []
|
||||||
text = '\n'.join(self.screen.display)
|
text = '\n'.join(self.screen.display)
|
||||||
for y in range(self.screen.lines):
|
start = time.time()
|
||||||
line = self.screen.buffer[y]
|
#for y in range(self.screen.lines):
|
||||||
attributes = [(char.reverse, char.fg, char.bg, char.bold, char.italics, char.underscore, char.strikethrough)
|
# line = self.screen.buffer[y]
|
||||||
for char in (line[x] for x in range(self.screen.columns))]
|
# attributes = [(char.reverse, char.fg, char.bg, char.bold, char.italics, char.underscore, char.strikethrough)
|
||||||
allAttributes.append((attributes))
|
# for char in (line[x] for x in range(self.screen.columns))]
|
||||||
|
# allAttributes.append((attributes))
|
||||||
|
#print(time.time() -start)
|
||||||
self.screen.dirty.clear()
|
self.screen.dirty.clear()
|
||||||
return {"cursor": (cursor.x, cursor.y),
|
return {"cursor": (cursor.x, cursor.y),
|
||||||
'lines': self.screen.lines,
|
'lines': self.screen.lines,
|
||||||
|
Loading…
Reference in New Issue
Block a user