Skip to content
Myr

Address review comments

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tavian Barnes · committed by David Peter · parent 17d849d · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/walk.rs+2 added-2 removed
130 unmodified lines
131 let quit_flag = Arc::new(AtomicBool::new(false));132 // Flag specifically for quitting due to ^C133 let interrupt_flag = Arc::new(AtomicBool::new(false));134135 if config.ls_colors.is_some() && config.command.is_none() {135 if config.ls_colors.is_some() && config.is_printing() {136 let quit_flag = Arc::clone(&quit_flag);137 let interrupt_flag = Arc::clone(&interrupt_flag);138139 ctrlc::set_handler(move || {
396 unmodified lines
536 }537538 if config.is_printing() {539 if let Some(ls_colors) = &config.ls_colors {540 // Try to compute colors in parallel540 // Compute colors in parallel541 entry.style(ls_colors);542 }543 }544
15 unmodified lines