1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00
When pasting in non-bracketed mode, LFs are replaced with CRs.
This commit is contained in:
Giorgio Gallo 2018-01-04 02:35:22 +01:00 committed by Joe Wilm
parent b600e40c8f
commit bb3da150de

View file

@ -240,7 +240,7 @@ impl Action {
ctx.write_to_pty(contents.into_bytes()); ctx.write_to_pty(contents.into_bytes());
ctx.write_to_pty(&b"\x1b[201~"[..]); ctx.write_to_pty(&b"\x1b[201~"[..]);
} else { } else {
ctx.write_to_pty(contents.into_bytes()); ctx.write_to_pty(contents.replace("\n","\r").into_bytes());
} }
} }
} }