aboutsummaryrefslogtreecommitdiff
path: root/src/input.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input.rs')
-rw-r--r--src/input.rs2
1 files changed, 1 insertions, 1 deletions
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());
}
}
}