Commit 93134beb authored by AdminXVII's avatar AdminXVII

Merge branch 'fix-no-newline' into 'master'

Fix regression with non-empty line

See merge request redox-os/liner!19
parents ce3351b7 1db8a317
Pipeline #4455 passed with stage
in 2 minutes and 36 seconds
......@@ -989,6 +989,9 @@ impl<'a, W: Write> Editor<'a, W> {
if !self.no_newline {
for _ in 0..(terminal_width - 1) {
output_buf.push(b' '); // if the line is not empty, owerflow on next line
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