[issue7567] Messed up terminal after calling curses.initscr() twice.

Sami Zerrade report at bugs.python.org
Sat Jan 30 12:27:19 CET 2010


Sami Zerrade <szerrade at gmail.com> added the comment:

I'm attaching a file that patches Modules/_cursesmodule.c to make sure that initscr hasn't been called before invoking setupterm().  This fixes the bug for me; your mileage may vary.

----------
keywords: +patch
Added file: http://bugs.python.org/file16054/setupterm.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7567>
_______________________________________


More information about the Python-bugs-list mailing list