Name

WriteRect

Synopsis

$cons ->WriteRect( rect, left, top, right, bottom )

Description

Writes a rectangle of characters and attributes (contained in rect) on the console at the coordinates specified by left, top, right, bottom. rect can be the result of a ReadRect function. Returns undef on error; otherwise, a four-element list containing the coordinates of the affected rectangle, in the format (left, top, right, bottom).

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.