NAME

Term::VTerm::Rect - represent an onscreen rectangle for Term::VTerm

CONSTRUCTOR

new

$rect = Term::VTerm::Rect->new(
   start_row => ..., end_row => ...,
   start_col => ..., end_col => ...,
)

Returns a new Term::VTerm::Rect instance.

ACCESSORS

start_row

start_col

$row = $rect->start_row

$col = $rect->start_col

The row and column number of the top left corner of the rectangle.

end_row

end_col

$row = $rect->end_row

$col = $rect->end_col

The row and column number of the cell just after the bottom right corner of the rectangle; i.e. exclusive limit.

AUTHOR

Paul Evans <leonerd@leonerd.org.uk>