in reply to Need nudge: how to (dynamically) discover terminal width?
In the past I've used the GetTerminalSize() function from Term::Readkey. I would also set a signal handler for $SIG{WINCH} to call the function again if someone resizes the window.
I hope this is helpful.
Cheers,
JohnGG
|
|---|