Are there differences between tput cols, tput lines and stty size written in this way (apart that stty size returns all in one string)?
Is one more portable or more reliable than the other?
At the moment I am asking myself the same question.
What I see on linux:
IMHO tput is more basic and portable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With