Update ptyDriver.py
This commit is contained in:
parent
2634e4c0f0
commit
578e2bc223
@ -40,7 +40,7 @@ class Terminal:
|
|||||||
buffer = self.screen.buffer
|
buffer = self.screen.buffer
|
||||||
self.attributes = [[list(attribute[1:]) + [False, 'default', 'default'] for attribute in line.values()] for line in buffer.values()]
|
self.attributes = [[list(attribute[1:]) + [False, 'default', 'default'] for attribute in line.values()] for line in buffer.values()]
|
||||||
self.screen.dirty.clear()
|
self.screen.dirty.clear()
|
||||||
return {"cursor": (cursor.x, cursor.y),
|
return {"textCursor": (cursor.x, cursor.y),
|
||||||
'lines': self.screen.lines,
|
'lines': self.screen.lines,
|
||||||
'columns': self.screen.columns,
|
'columns': self.screen.columns,
|
||||||
"text": self.text,
|
"text": self.text,
|
||||||
|
Loading…
Reference in New Issue
Block a user