https://ostechnix.com/get-terminal-size-using-python/
How To Get Terminal Size Using Python In Linux