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-5e57d9c272a2b843517531-i/] and see for yourself! Tput can actually provide a lot of different…