Terminal Guide

Reverse Attributes in Area (DECRARA)

ESC1B[5B toprow ;3b leftcolumn ;3b bottomrow ;3b rightcolumn ;3b [ cmd ]1+ $24 t74
xterm
toprow = 0
leftcolumn = 0
bottomrow = see description
rightcolumn = see description
repeated (one or more times):

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:

For each cell in the specified area and each value of cmd the attribute corresponding to cmd is toggled:

`cmd`attribute
1bold
4underline
5blink
7inverse
8invisible

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.