Support S8C1T mode

That is, eight bit control codes. When in S8C1T mode, kitty will send
only eight bit control codes to the client.
This commit is contained in:
Kovid Goyal
2017-12-03 16:57:08 +05:30
parent ed9b332da5
commit c17c6cae4c
17 changed files with 5716 additions and 5637 deletions

View File

@@ -29,7 +29,8 @@ class Callbacks:
def request_capabilities(self, q):
from kitty.terminfo import get_capabilities
self.write(get_capabilities(q))
c = get_capabilities(q)
self.write(c.encode('ascii'))
def use_utf8(self, on):
self.iutf8 = on