mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Fix send_text parsing choking on '''
This commit is contained in:
parent
2f9784809d
commit
6bf04e22cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue