in reply to To find out console line size in char.s .
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: To find out console line size in char.s .
by robby_dobby (Hermit) on Mar 13, 2014 at 17:07 UTC |