File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -285,22 +285,25 @@ impl JobStatus for IndicatifJobStatus {
285285 . arg ( "target" , self . target . to_string ( ) )
286286 . fmt ( ) ;
287287 let start = format ! ( "{} {start}" , style( style( "┄┄┄┄┄" ) . cyan( ) ) ) ;
288- self . bar . println ( start) ;
288+ let end = LocalText :: new ( "make-backlog-end" ) . fmt ( ) ;
289+ let end = format ! ( "{} {end}" , style( style( "┄┄┄┄┄" ) . cyan( ) ) ) ;
289290 let was_hidden = self . bar . is_hidden ( ) ;
290291 if was_hidden {
291292 self . bar . set_draw_target ( ProgressDrawTarget :: stdout ( ) ) ;
292293 }
293- let lines = self . log . lines . read ( ) . unwrap ( ) ;
294- for line in lines. iter ( ) {
295- let msg = style ( line. line . as_str ( ) ) . dim ( ) . to_string ( ) ;
296- self . bar . println ( msg) ;
297- }
294+ self . bar . suspend ( || {
295+ println ! ( "{}" , start) ;
296+ let lines = self . log . lines . read ( ) . unwrap ( ) ;
297+ for line in lines. iter ( ) {
298+ let msg = line. line . as_str ( ) ;
299+ let msg = style ( msg) . dim ( ) . to_string ( ) ;
300+ println ! ( "{}" , msg) ;
301+ }
302+ println ! ( "{}" , end) ;
303+ } ) ;
298304 if was_hidden {
299305 self . bar . set_draw_target ( ProgressDrawTarget :: hidden ( ) ) ;
300306 }
301- let end = LocalText :: new ( "make-backlog-end" ) . fmt ( ) ;
302- let end = format ! ( "{} {end}" , style( style( "┄┄┄┄┄" ) . cyan( ) ) ) ;
303- self . bar . println ( end) ;
304307 }
305308 fn pass_msg ( & self ) {
306309 let target = self . target . to_string ( ) ;
You can’t perform that action at this time.
0 commit comments