You are not logged in.
Hi,
some time ago I started a curses interface. Now I stick to a barrier regarding window access. Is there any possibility to close window objects without calling
curses.endwin()
which closes the whole program. The only possible way in my opinion is to set the window object size to zero OR redrawing the main window via
curses.window.clear()
which deletes content. Unfortunatelly the documentation does not mention any function like this for window objects created by newwin or initscr.
So, does anybody know a bit more about this topic?
Thanks in advance,
L-K
Offline
I think delwin is what you're after, so you might want to try that, but it looks as though it has been missing from curses-python in the past.
See here, http://mail.python.org/pipermail/tutor/ … 44172.html
Offline