mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Refactor screen mode API to use get/setters
This commit is contained in:
parent
b4af2ff314
commit
af8d44ecab
6 changed files with 36 additions and 17 deletions
|
|
@ -30,9 +30,13 @@ class Callbacks:
|
|||
def request_capabilities(self, q):
|
||||
self.qbuf += q
|
||||
|
||||
def buf_toggled(self, is_alt):
|
||||
self.is_alt = is_alt
|
||||
|
||||
def clear(self):
|
||||
self.wtcbuf = b''
|
||||
self.iconbuf = self.titlebuf = self.colorbuf = self.qbuf = self.ctbuf = ''
|
||||
self.is_alt = False
|
||||
|
||||
|
||||
def filled_line_buf(ynum=5, xnum=5, cursor=Cursor()):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue