From 6ae58e688294c7fcf30796299184347dcb215fcb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 May 2018 20:15:59 +0530 Subject: [PATCH] Add a couple more functions to --replay-commands --- kitty/client.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kitty/client.py b/kitty/client.py index a0f05bf0b..d495e0e25 100644 --- a/kitty/client.py +++ b/kitty/client.py @@ -106,6 +106,14 @@ def screen_backspace(): write('\x08') +def screen_set_cursor(mode, secondary): + write(CSI + '%d q' % secondary) + + +def screen_insert_lines(num): + write(CSI + '%dL' % num) + + def draw(*a): write(' '.join(a))