mirror of
https://github.com/alacritty/alacritty.git
synced 2026-12-01 17:33:40 +03:00
Resolves #733.
When pasting in non-bracketed mode, LFs are replaced with CRs.
This commit is contained in:
1 parent
b600e40c8f
commit
bb3da150de
1 file changed
+1
-1
+1
-1
@@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user