And another

This commit is contained in:
Kovid Goyal 2020-12-17 08:41:58 +05:30
parent e7675e8bab
commit e48e166584
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -182,6 +182,10 @@ def screen_decsace(mode: int) -> None:
write(CSI + str(mode) + '*x') write(CSI + str(mode) + '*x')
def screen_set_8bit_controls(mode: int) -> None:
write('\x1b ' + ('G' if mode else 'F'))
def write_osc(code: int, string: str = '') -> None: def write_osc(code: int, string: str = '') -> None:
if string: if string:
string = ';' + string string = ';' + string