Name

terminal-stream?

Usage

builtin-function

Syntax

(terminal-stream? stream)

Description

Returns true if stream is a console window.

When the lisp functions print(-line) and write(-line) send their output to a color stream, the data can include color and font escape sequences. One set, they remain in effect until overruled by another escape sequence or until the end of line is reached.

(print "Hello !{underline italic purple}beautifull!{default}, world")

Valid escape sequences are:

!{default}
!{normal}
!{bold}
!{italic}
!{underline}
!{strike-out}
!{dark-red} and other color names
!{#ff0000} and another rgb values