Did you know ... | Search Documentation: |
![]() | Controlling colored output on the terminal |
By default, SWI-Prolog will use colored output on the commandline based on
library(ansi_term) if 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
:- set_prolog_flag(color_term, false).