Alright, it seems that this behaviour is ok?!
I don't get it. Why is that? And how to solve it?
If I catch the exception the script just crashes again except I don't see the useless error message. And it ends with the shell prompt
Quote:Writing outside the window, subwindow, or pad raises curses.error. Attempting to write to the lower right corner of a window, subwindow, or pad will cause an exception to be raised after the string is printed.
I don't get it. Why is that? And how to solve it?
If I catch the exception the script just crashes again except I don't see the useless error message. And it ends with the shell prompt
except curses.error: pass