src/Pure/System/progress.scala
changeset 83290 10d6a6d43599
parent 83289 2cd87a6da20b
child 83298 d2ffec6f4b89
equal deleted inserted replaced
83289:2cd87a6da20b 83290:10d6a6d43599
   223     Output.delete_lines(Library.count_newlines(txt), stdout = !stderr)
   223     Output.delete_lines(Library.count_newlines(txt), stdout = !stderr)
   224   }
   224   }
   225 
   225 
   226   override def status_output(msgs: Progress.Output): Unit = synchronized {
   226   override def status_output(msgs: Progress.Output): Unit = synchronized {
   227     for (msg <- msgs if do_output(msg)) {
   227     for (msg <- msgs if do_output(msg)) {
   228       Output.output(msg.message.output_text, stdout = !stderr, include_empty = true)
   228       val txt0 = msg.message.output_text
       
   229       val txt1 = if (msg.status) "\u001b[7m" + txt0 + "\u001b[27m" else txt0
       
   230       Output.output(txt1, stdout = !stderr, include_empty = true)
   229     }
   231     }
   230   }
   232   }
   231 
   233 
   232   override def toString: String = super.toString + ": console"
   234   override def toString: String = super.toString + ": console"
   233 }
   235 }