HomeManualTopicsTypesSymbols

std_types::screen/std::clear

clears the specified rectangular area

Parameters

self
x (default: 1)
the first column to fill
y (default: 1)
the first row to fill
width (default: undefined)
the number of columns to fill
height (default: undefined)
the number of rows to fill

Results

None

Description

The specified area is filled with spaces using the the current colours.

This function also works for "graphical screens" (line_height != 1).

Topic

Terminal

Implements

std::clear

See also

std_types::screen/std::copy copies a rectangular area from one screen to another