mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-11 13:51:01 -05:00
Resolves #733.
When pasting in non-bracketed mode, LFs are replaced with CRs.
This commit is contained in:
parent
b600e40c8f
commit
bb3da150de
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ impl Action {
|
||||||
ctx.write_to_pty(contents.into_bytes());
|
ctx.write_to_pty(contents.into_bytes());
|
||||||
ctx.write_to_pty(&b"\x1b[201~"[..]);
|
ctx.write_to_pty(&b"\x1b[201~"[..]);
|
||||||
} else {
|
} else {
|
||||||
ctx.write_to_pty(contents.into_bytes());
|
ctx.write_to_pty(contents.replace("\n","\r").into_bytes());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue