Terminal screen size detection

WWW: https://ttytoolkit.org
