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
1 changed files with 1 additions and 1 deletions

View File

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