From 0dd3ee0046c9042a16635295d626125a80606fa8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 5 Feb 2025 08:48:16 +0530 Subject: [PATCH] Add some more command to replay commands --- kitty/client.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kitty/client.py b/kitty/client.py index 51fce68cb37..246f658eb4d 100644 --- a/kitty/client.py +++ b/kitty/client.py @@ -169,6 +169,10 @@ def screen_cursor_down(count: int) -> None: write(f'{CSI}{count}B') +def screen_cursor_down1(count: int) -> None: + write(f'{CSI}{count}E') + + def screen_report_key_encoding_flags() -> None: write(f'{CSI}?u') @@ -226,6 +230,10 @@ def report_device_attributes(mode: int, char: int) -> None: write(f'{x}c') +def report_device_status(x: int, private: bool) -> None: + write(f'{CSI}{"?" if private else ""}{x}n') + + def screen_decsace(mode: int) -> None: write(f'{CSI}{mode}*x')