Add a couple more functions to --replay-commands

This commit is contained in:
Kovid Goyal 2018-05-17 20:15:59 +05:30
parent 3bc0f90a82
commit 6ae58e6882
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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))