We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75bde18 commit be54063Copy full SHA for be54063
src/utils.rs
@@ -15,8 +15,6 @@ use std::{
15
atomic::{AtomicUsize, Ordering},
16
Arc, Mutex,
17
},
18
- thread::sleep,
19
- time::Duration,
20
};
21
use walkdir::WalkDir;
22
@@ -125,6 +123,13 @@ pub fn copy_incremental(
125
123
}
126
124
127
+ execute!(
+ stdout(),
128
+ MoveTo(0, progress_row - 2),
129
+ Clear(ClearType::CurrentLine),
130
+ ResetColor
131
+ )?;
132
+
133
execute!(
134
stdout(),
135
MoveTo(0, progress_row - 3),
@@ -144,8 +149,6 @@ pub fn copy_incremental(
144
149
total_files as f32,
145
150
msg,
146
151
);
147
-
148
- sleep(Duration::from_millis(40));
152
153
154
Ok((
0 commit comments