diff --git a/src/input.rs b/src/input.rs index 6aae87f9..ff9b7b03 100644 --- a/src/input.rs +++ b/src/input.rs @@ -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()); } } }