|Did you know ...
|Controlling colored output on the terminal
By default, SWI-Prolog will use colored output on the commandline based on
current_output is connected to a terminal. This is
detected by the
tty property of streams (see stream_property/2). Coloring
can be controlled in two ways