Update ptyDriver.py

This commit is contained in:
chrys87 2018-05-24 10:02:29 +02:00 committed by GitHub
parent 85ab1d2870
commit 30d25dcfaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ class Terminal:
start = time.time()
for y in range(self.screen.lines):
line = self.screen.buffer[y]
attributes = [list(char[1:] + [False, 'default', 'default']) for char in (line[x] for x in range(self.screen.columns))]
attributes = [list(char[1:]) + [False, 'default', 'default'] for char in (line[x] for x in range(self.screen.columns))]
allAttributes.append(attributes)
print(time.time() -start)
self.screen.dirty.clear()