When pasting in non-bracketed mode, LFs are replaced with CRs.
This commit is contained in:
Giorgio Gallo authored and Joe Wilm committed 2018-01-07 13:11:46 -08:00
1 parent b600e40c8f
commit bb3da150de
1 file changed
+1 -1
+1 -1
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());
}
}
}