[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread Roland Brickl
Roland Brickl <[EMAIL PROTECTED]> added the comment: >> i use this to get updated versions of curses.COLS and curses.LINES in >> the fact of an curses.KEY_RESIZE event. >I didn't know this event. Is a key in a special keyboard? Or an event >raised >by some c

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread Roland Brickl
Roland Brickl <[EMAIL PROTECTED]> added the comment: Hi Victor, i use this to get updated versions of curses.COLS and curses.LINES in the fact of an curses.KEY_RESIZE event. So i can use curses within python even without to have panels. It seems that curses.panel are the prefered way t

[issue4254] _cursesmodule.c callable update_lines_cols()

2008-11-03 Thread Roland Brickl
New submission from Roland Brickl <[EMAIL PROTECTED]>: curses.update_lines.cols() are normally usable within c programs. With this change, it can now be used too. It only calls the preexisting function that where only used internally. The cast in the return statement are possibly false?