diff --git a/crates/kebab-cli/src/progress.rs b/crates/kebab-cli/src/progress.rs index c18948d..be17a46 100644 --- a/crates/kebab-cli/src/progress.rs +++ b/crates/kebab-cli/src/progress.rs @@ -144,19 +144,10 @@ impl ProgressDisplay { media, } => { if let Some(bar) = self.bar.as_ref() { - // Suppress draws during the two updates so only one frame - // lands in the TTY scrollback per file. set_position() and - // set_message() each call update_and_draw() independently — - // hiding the draw target collapses them into a single tick(). - bar.set_draw_target(ProgressDrawTarget::hidden()); - bar.set_message(format!("{media} {path}")); + // One draw per file: position only. set_message() would + // trigger a second independent draw and pollute TTY scrollback. + // Filename is visible in the non-TTY plain-line path below. bar.set_position(u64::from(idx.saturating_sub(1))); - bar.set_draw_target(if tty && !quiet { - ProgressDrawTarget::stderr() - } else { - ProgressDrawTarget::hidden() - }); - bar.tick(); } if !tty && !quiet { let mut err = std::io::stderr().lock();