toprow
= 0 leftcolumn
= 0 bottomrow
= see description rightcolumn
= see description Change given attributes for each cell of the specified area.
If cursor origin mode is set the points are interpreted relative to the top left of the current scroll region. Otherwise it's relative to the top left of the terminal.
bottomrow
and rightcolumn
default to their bottom-most/right-most valid values.
If cursor origin mode is set and the bottom-right point exceeds the current scroll region it's clipped to the current scroll region. Otherwise the point is clipped to be within the full terminal.
If toprow
> bottomrow
or leftcolumn
> rightcolumn
this sequence does nothing.
If select attribute change extent is set to rectangle (non default) the two points are interpreted as a rectangle. Otherwise:
toprow
= bottomrow
:leftcolumn
(included) to rightcolum
(included) on line toprow
toprow
from leftcolumn
(included) to the right-most column of current scroll region. All lines between toprow
(excluded) and bottomrow
(excluded). And on bottomrow
the left-most column of the current scroll region to rightcolumn
(included).For each cell in the specified area and each value of cmd
the attribute is changed corresponding to:
`cmd` | attribute |
---|---|
0 | clear all attributes |
1 | set bold |
4 | set underline |
5 | set blink |
7 | set inverse |
8 | set invisible |
22 | remove bold |
24 | remove underline |
25 | remove blink |
27 | remove inverse |
28 | remove invisible |
When only some of the lines have set set double width line, the region this sequence acts upon might not look rectangular in to the user on display.