DECSCNM—Screen Mode: Light or Dark Screen

This control function selects a dark or light background on the screen.

Default: Dark background.

Format

CSI
9/11
?
3/15
5
3/5
h
6/8
Set: reverse video.
CSI
9/11
?
3/15
5
3/5
l
6/12
Reset: normal display.

Description

When DECSCNM is set, the screen displays dark characters on a light background.

When DECSCNM is reset, the screen displays light characters on a dark background.

Note on DECSCNM

Screen mode only effects how the data appears on the screen. DECSCNM does not change the data in page memory.