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
undef on error; otherwise, a four-element list containing the
coordinates of the affected rectangle, in the format (left, top, right, bottom).