mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-15 13:04:38 +02:00
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:
@@ -452,6 +452,6 @@ def get_capabilities(query_string):
|
||||
if qname in string_capabilities and '%' not in val:
|
||||
val = key_as_bytes(qname).decode('ascii')
|
||||
ans.append(q + '=' + hexlify(str(val).encode('utf-8')).decode('ascii'))
|
||||
return b'\033P1+r' + ';'.join(ans).encode('utf-8') + b'\033\\'
|
||||
return '1+r' + ';'.join(ans)
|
||||
except Exception:
|
||||
return b'\033P0+r' + query_string.encode('utf-8') + b'\033\\'
|
||||
return '0+r' + query_string
|
||||
|
||||
Reference in New Issue
Block a user