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