python (3.12.0)
1 from typing import NamedTuple
2
3
4 class ESC[4;38;5;81mRegion(ESC[4;38;5;149mNamedTuple):
5 """Defines a rectangular region of the screen."""
6
7 x: int
8 y: int
9 width: int
10 height: int