DECERA—Erase Rectangular Area
This control function erases characters from the specified rectangular area in page memory. When an area is erased, DECERA replaces all character positions with the space character (2/0). DECERA erases character values and visual attributes from the specified area. DECERA does not erase line attributes.
Available in: VT Level 4 mode only
Format
CSI 9/11 |
Pt 3/n |
; 3/11 |
Pl 3/n |
; 3/11 |
Pb 3/n |
; 3/11 |
Pr 3/n |
$ 2/4 |
z 7/10 |
Parameters
Pt, Pl, Pb, and Pr
define the rectangular area to be erased:
Pt is the top-line border. Pt must be less than or equal to Pb.
Default: Pt = 1.
Pl is the left-column border. Pl must be less than or equal to Pr.
Default: Pl = 1.
Pb is the bottom-line border.
Default: Pb = the last line of the active page.
Pr is the right-column border.
Default: Pr = the last column of the active page.
Notes on DECERA
- The coordinates of the rectangular area are affected by the setting of origin mode (DECOM).
- DECERA is not affected by the page margins.
- If the value of Pt, Pl, Pb, or Pr exceeds the width or height of the active page, then the value is treated as the width or height of that page.
- DECERA does not change the active cursor position.