Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: How to get the width of a console window?by meetraz (Hermit) |
on Jun 07, 2004 at 19:37 UTC ( [id://362081]=note: print w/replies, xml ) | Need Help?? |
For completeness, here's how to do it on Windows:
Note that if the user resizes the window after the call to new(), the Size() method will not return the new size. If your application needs to handle resizing, it should create the Win32::Console object each time it needs to read the size.
In Section
Seekers of Perl Wisdom
|
|