set.text.attribute

Category

Display commands

Syntax

set.text.attribute(FG,BG);

Description

Sets the foreground and background colours for display and display.v. The background colour can only be black (if BG is 0) or white (if BG is greater than 0). If the background is white, all text will be displayed with a black foreground. Otherwise, the text will be displayed with the foreground specified by FG (0-15).

See also

display

display.v