ReadRect
$cons
->ReadRect(left
,top
,right
,bottom
)
- Reads the content (characters and attributes) of the rectangle specified by left, top, right, bottom from the console. Returns a string containing the rectangle read, or
undef
on error. You can then pass the returned variable toWriteRect
to restore the saved rectangle on screen (or on another console).