Commit 616e6165 authored by AdminXVII's avatar AdminXVII
Browse files

Erase ⏎ character if nothing overwrites it

parent 884f6d97
Pipeline #7663 passed with stage
in 2 minutes and 52 seconds
......@@ -266,7 +266,7 @@ impl<'a, W: io::Write> Editor<'a, W> {
for _ in 0..(util::terminal_width().unwrap_or(80) - 1) {
out.write_all(b" ")?; // if the line is not empty, overflow on next line
}
out.write_all("\r".as_bytes())?;
out.write_all("\r \r".as_bytes())?; // Erase the "⏎" if nothing overwrites it
let Prompt {
mut prompt,
vi_status,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment