Martin [gz] wrote:
[...]
> Otherwise the only options are ripping out the SIGWINCH code, or
I'm pretty tempted to do that, and maybe replace it with a small C
module that can install a simple SIGWINCH handler that avoids Python's
bugs. The module would just set a “terminal sized changed” flag that
bzrlib.osutils.terminal_width() would check before returning a result.
Martin [gz] wrote:
[...]
> Otherwise the only options are ripping out the SIGWINCH code, or
I'm pretty tempted to do that, and maybe replace it with a small C osutils. terminal_ width() would check before returning a result.
module that can install a simple SIGWINCH handler that avoids Python's
bugs. The module would just set a “terminal sized changed” flag that
bzrlib.