mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-27 19:31:46 +00:00
Fix #7376
This commit is contained in:
parent
ef9d279305
commit
abfd51ad0d
1 changed files with 1 additions and 0 deletions
|
|
@ -1616,6 +1616,7 @@ class Window:
|
|||
replaced_c0_control_codes = sanitized != btext
|
||||
if 'replace-newline' in opts.paste_actions:
|
||||
sanitized = sanitized.replace(b'\n', b'\x1bE')
|
||||
replaced_newlines = False
|
||||
if not self.screen.in_bracketed_paste_mode:
|
||||
# \n is converted to \r and \r is interpreted as the enter key
|
||||
# by legacy programs that dont support the full kitty keyboard protocol,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue