src/Pure/System/progress.scala
changeset 83306 2616fa68b9c6
parent 83304 7d9d730a8fd0
child 83309 1a0857d96637
equal deleted inserted replaced
83305:383ae80f1ec0 83306:2616fa68b9c6
   235   }
   235   }
   236 
   236 
   237   override def status_output(msgs: Progress.Output): Unit = synchronized {
   237   override def status_output(msgs: Progress.Output): Unit = synchronized {
   238     for (msg <- msgs if do_output(msg)) {
   238     for (msg <- msgs if do_output(msg)) {
   239       val txt0 = msg.message.output_text
   239       val txt0 = msg.message.output_text
   240       val txt1 = if (msg.status) "\u001b[7m" + txt0 + "\u001b[27m" else txt0
   240       val txt1 = if (msg.status) "\u001b[7m" + txt0 + "\u001b[0m" else txt0
   241       Output.output(txt1, stdout = !stderr, include_empty = true)
   241       Output.output(txt1, stdout = !stderr, include_empty = true)
   242     }
   242     }
   243   }
   243   }
   244 
   244 
   245   override def toString: String = super.toString + ": console"
   245   override def toString: String = super.toString + ": console"