File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -105,12 +105,12 @@ pub fn download_extract_sans_parent(
105
105
None => ProgressBar :: new_spinner ( ) ,
106
106
} ;
107
107
108
- pb. set_prefix ( " Downloading: " ) ;
108
+ pb. set_prefix ( " Downloading" ) ;
109
109
pb. set_style (
110
110
ProgressStyle :: default_bar ( )
111
- . template ( "{prefix:.cyan.bold} [ {bar}] {bytes}/{total_bytes} eta: {eta}" )
111
+ . template ( "{prefix:.cyan.bold}: {bar:.cyan/white} {bytes}/{total_bytes} eta: {eta}" )
112
112
. unwrap ( )
113
- . progress_chars ( "=> " ) ,
113
+ . progress_chars ( "━╸━ " ) ,
114
114
) ;
115
115
116
116
let last_modified = match response
@@ -204,12 +204,12 @@ pub fn download_extract_sans_parent(
204
204
ProgressBar :: new_spinner ( )
205
205
} ;
206
206
207
- pb. set_prefix ( " Downloading: " ) ;
207
+ pb. set_prefix ( " Downloading" ) ;
208
208
pb. set_style (
209
209
ProgressStyle :: default_bar ( )
210
- . template ( "{prefix:.cyan.bold} [ {bar}] {bytes}/{total_bytes} eta: {eta}" )
210
+ . template ( "{prefix:.cyan.bold}: {bar:.cyan/white} {bytes}/{total_bytes} eta: {eta}" )
211
211
. unwrap ( )
212
- . progress_chars ( "=> " ) ,
212
+ . progress_chars ( "━╸━ " ) ,
213
213
) ;
214
214
215
215
let response_with_pb = pb. wrap_read ( DataReaderWrap ( reader) ) ;
You can’t perform that action at this time.
0 commit comments