Add a get_term_size() function that uses the curses module if available and otherwise...
authorZac Medico <zmedico@gentoo.org>
Sun, 27 May 2007 06:17:58 +0000 (06:17 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 27 May 2007 06:17:58 +0000 (06:17 -0000)
commit26722a60c214295187372ab1a319cdd5283f2a1f
tree818e374515c118ad6260981100f69ab8e0267951
parent02417974e952f0c26e1a1c24ec42204be22bc1a2
Add a get_term_size() function that uses the curses module if available and otherwise falls back to parsing the output of `stty size`.

svn path=/main/trunk/; revision=6638
pym/portage/output.py