mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-17 22:14:53 +02:00
Native code implementation for expanding ANSI escape codes
This commit is contained in:
@@ -26,8 +26,6 @@ def ctrl_mask_char(ch: str) -> str:
|
||||
o = ord(ch)
|
||||
except Exception:
|
||||
return ch
|
||||
if o > 127:
|
||||
return ch
|
||||
return chr(o & 0b0011111)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user