mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 17:27:39 +02:00
Support for DCS status and capabilities reporting codes
This commit is contained in:
@@ -28,14 +28,15 @@ class Callbacks:
|
||||
self.ctbuf += ''
|
||||
|
||||
def request_capabilities(self, q):
|
||||
self.qbuf += q
|
||||
from kitty.terminfo import get_capabilities
|
||||
self.write(get_capabilities(q))
|
||||
|
||||
def use_utf8(self, on):
|
||||
self.iutf8 = on
|
||||
|
||||
def clear(self):
|
||||
self.wtcbuf = b''
|
||||
self.iconbuf = self.titlebuf = self.colorbuf = self.qbuf = self.ctbuf = ''
|
||||
self.iconbuf = self.titlebuf = self.colorbuf = self.ctbuf = ''
|
||||
self.iutf8 = True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user