Terminal Guide

Select Attribute Change Extent (DECSACE)

ESC1B[5B cmd *2a x78
cmd = 0

Select area type for reverse attributes in area and change attributes in area.

If cmd is 2 the affected sequences act on rectangles. Otherwise they act on all cells between 2 points in left-to-right and top-to-down reading order.