mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
Refactor VT parser for more speed
No longer copy bytes into a separate buffer, instead parse them in place in the read buffer
This commit is contained in:
@@ -78,6 +78,10 @@ def select_graphic_rendition(*a: int) -> None:
|
||||
write(f'{CSI}{";".join(map(str, a))}m')
|
||||
|
||||
|
||||
def deccara(*a: int) -> None:
|
||||
write(f'{CSI}{";".join(map(str, a))}$r')
|
||||
|
||||
|
||||
def screen_cursor_to_column(c: int) -> None:
|
||||
write(f'{CSI}{c}G')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user