New submission from Kan-Ru Chen <[email protected]>: According to doc: http://docs.python.org/library/curses.html#curses.use_env
curses.use_env() must be called before initscr(), curses man page also says so. But python gives error: _curses.error: must call initscr() first test.py is the test program, the output should change if your term size changed test_ctypes.py shows the desired behavior. ps. curses.COLS and curses.LINES doesn't change, but that's another story. ---------- components: Extension Modules files: test.py messages: 97024 nosy: kanru severity: normal status: open title: curses.use_env implementation error type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file15698/test.py _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7597> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
