Update ptyDriver.py

This commit is contained in:
chrys87 2018-05-30 11:00:41 +02:00 committed by GitHub
parent 2634e4c0f0
commit 578e2bc223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ class Terminal:
buffer = self.screen.buffer
self.attributes = [[list(attribute[1:]) + [False, 'default', 'default'] for attribute in line.values()] for line in buffer.values()]
self.screen.dirty.clear()
return {"cursor": (cursor.x, cursor.y),
return {"textCursor": (cursor.x, cursor.y),
'lines': self.screen.lines,
'columns': self.screen.columns,
"text": self.text,