draw() with the helpers in c painting for stream, so its text is colored only when
that stream is. draw must be synchronous: the stream is held only while it runs. Outside it a
helper cannot tell where its text goes, so it colors only when stdout and stderr both would.
draw()with the helpers in c painting forstream, so its text is colored only when that stream is.drawmust be synchronous: the stream is held only while it runs. Outside it a helper cannot tell where its text goes, so it colors only when stdout and stderr both would.