$ cons ->MaxWindow
cons
Returns the size of the largest possible console window, based on the current font and the size of the display. The result is undef on error; otherwise, a two-element list containing the number of columns and rows is returned.
undef
Copyright © 2001 O'Reilly & Associates. All rights reserved.