mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Fix send_text parsing choking on '''
This commit is contained in:
@@ -174,7 +174,7 @@ def parse_symbol_map(val):
|
||||
|
||||
|
||||
def parse_send_text_bytes(text):
|
||||
return ast.literal_eval("'''" + text + "'''").encode('utf-8')
|
||||
return ast.literal_eval("'''" + text.replace("'''", "'\\''") + "'''").encode('utf-8')
|
||||
|
||||
|
||||
def parse_send_text(val, keymap):
|
||||
|
||||
Reference in New Issue
Block a user