[PATCH] churn: get current terminal width if possible
Christian Ebert
blacktrash at gmx.net
Fri Jul 20 03:46:54 CDT 2007
* Alexis S. L. Carvalho on Thursday, July 19, 2007 at 21:13:00 -0300
> Thus spake Christian Ebert:
>> +def get_tty_width():
>> + if 'COLUMNS' in os.environ:
>> + return os.environ['COLUMNS']
>
> ...missing int() here.
Good catch, thanks.
c
--
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/>
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>
More information about the Mercurial-devel
mailing list