Control code characters determine display attributes such as text color, double height, flashing, and boxing. By default, rows start with white text on a black background, single height, not flashing, not boxed, not concealed, and no held mosaic. Attributes typically remain active until the end of the row.
The Attributes and Colour objects provide a helper interface for composing strings used with setPageRows(), setRow(), writeBytes(), and writeByte(). While optional, these objects simplify the process of inserting the correct control codes into the teletext stream.
import { Attributes, Colour } from '@techandsoftware/teletext';