Author productivememberofsociety666
Recipients docs@python, productivememberofsociety666
Date 2013-08-06.14:42:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375800170.73.0.20062232661.issue18669@psf.upfronthosting.co.za>
In-reply-to
Content
According to docs.python.org/2/library/curses.html#chgat (or any other version), curses.chgat() is not supposed to move the cursor at all.

This is true if you don't give it x,y coordinates, but if you do, the cursor does in fact move to those coordinates, since it then uses C curses's mvchgat() internally and doesn't correct the position afterwards.

See included file for demonstration:

Expected output is:
one
two

Actual output is:
two

Fix the documentation or fix the code :-)
History
Date User Action Args
2013-08-06 14:42:50productivememberofsociety666setrecipients: + productivememberofsociety666, docs@python
2013-08-06 14:42:50productivememberofsociety666setmessageid: <1375800170.73.0.20062232661.issue18669@psf.upfronthosting.co.za>
2013-08-06 14:42:50productivememberofsociety666linkissue18669 messages
2013-08-06 14:42:50productivememberofsociety666create