[PATCH] obtain terminal_width via curses
Gustavo Niemeyer
gustavo at niemeyer.net
Wed Apr 26 02:36:50 BST 2006
Hey Martin,
> Thanks for the patch. There is an existing bug open for this,
> https://launchpad.net/products/bzr/+bug/3507
>
> That bug suggests using TIOCGWINSZ to do this, rather than curses,
> which is at least conceptually more lightweight. Are there any
> particular advantages to using curses?
I've just added a comment to the bug with the function I use
in Smart PM, based on TIOCGWINSZ.
--
Gustavo Niemeyer
http://niemeyer.net
More information about the bazaar
mailing list