toprow
= 0 leftcolumn
= 0 bottomrow
= see description rightcolumn
= see description Toggle 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 corresponding to cmd
is toggled:
`cmd` | attribute |
---|---|
1 | bold |
4 | underline |
5 | blink |
7 | inverse |
8 | 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.