[Pythonmac-SIG] resizing terminal and curses
Ronald Oussoren
ronaldoussoren at mac.com
Sat Mar 25 23:53:43 CET 2006
On 14-mrt-2006, at 19:00, Nicholas Cole wrote:
> I couldn't find anything in the archives related to this.
>
> Using both Apple's python and a build of python2.4.2, there seems to
> be a bug when using ncurses. curses.newwin() is supposed to give a
> new window filling the pysical terminal, but if the terminal has been
> resized this does not seem to happen. Instead, the window seems to be
> the size that the terminal was when curses was initialised. This is
> not the case on other platforms, where the window created reflects the
> new size of the terminal. Is this a known bug?
>
> (it seems to affect both xterm and terminal.app)
Linking with my own build of ncurses 5.5 instead of the system curses
library
seems to solve this issue. I'll see if I can include this in the
universal
binary build of python 2.4.3.
Ronald
>
> Best wishes,
>
> N.
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
More information about the Pythonmac-SIG
mailing list