diff --git a/src/draw_target.rs b/src/draw_target.rs index 7eef0d7d..3a7b2f17 100644 --- a/src/draw_target.rs +++ b/src/draw_target.rs @@ -399,7 +399,7 @@ impl ProgressDrawState { // Keep the cursor on the right terminal side // So that next user writes/prints will happen on the next line let line_width = console::measure_text_width(line); - term.move_cursor_right(usize::from(term.size().1) - line_width)?; + term.write_str(&" ".repeat(usize::from(term.size().1) - line_width))?; } } Ok(())