|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^2: Plot Graph in Console by printing special character say * and spaces using matrix structure in Perlby programmingzeal (Beadle) |
| on Sep 10, 2022 at 07:27 UTC ( [id://11146810]=note: print w/replies, xml ) | Need Help?? |
|
I found the alternative of `stty size` on Linux for windows console size. Just a simple perldoc -q "screen size" revealed following:
How do I get the screen size? If you have Term::ReadKey module installed from CPAN, you can use it to fetch the width and height in characters and in pixels: use Term::ReadKey; my ($wchar, $hchar, $wpixels, $hpixels) = GetTerminalSize(); The code is working though I will modify it. Thanks for giving me a start!!
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||