On 2019-02-27 17:48, boB Stepp wrote:
Under https://docs.python.org/3/library/curses.html#window-objects in
the curses docs, it states:

<quote>
window.addch(ch[, attr])
window.addch(y, x, ch[, attr])
[...]

Note

Writing outside the window, subwindow, or pad raises a 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 character is
printed.

Could it be that as soon as the character is printed the cursor moves to the 'next location' which is outside of the 'window, subwindow, or pad' and it is this which causes the error to be raised?
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to