Expanding on robby_dobby's answer, if the terminal is resized it should generate a $SIG{ WINCH } so install a handler to recalculate terminal size on receipt of that signal.
$SIG{ WINCH } = sub { # get new terminal size here };
I hope this is helpful.
Cheers,
JohnGG
In reply to Re: To find out console line size in char.s .
by johngg
in thread To find out console line size in char.s .
by humble
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |