Skip to main content

Module region

Module region 

Source
Expand description

Terminal region definitions for location-aware assertions.

A Region describes a rectangular area of the terminal grid using zero-based cell coordinates. Named constructors provide common anchors such as top_row, footer, and percentage-based rectangles relative to the terminal dimensions.

Structsยง

Region
A rectangular region in terminal cell coordinates.