brandonrubin.me
Python Snippet: Get Terminal Width
There is a wonderful command on UNIX systems to return the width of the current terminal. Enter [crayon-5c6f9e3145433387954653-i/] and see for yourself! Tput can actually provide a lot of different…