Eric Price added the comment:

This patch seems to fix the issue for me, by installing a signal handler for 
SIGWINCH that sets a flag which is checked while waiting for input.

One could make a simpler patch that just calls rl_resize_terminal() from the 
signal handler.  That would essentially replicate the pre-readline 6.2 
behavior, which worked fine, but supposedly it's `dangerous'.

----------
keywords: +patch
nosy: +Eric Price
Added file: http://bugs.python.org/file40837/rl_sigwinch_update.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23735>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to