On Mon, Feb 23, 2009 at 11:22 AM, William McBrine <wmcbr...@gmail.com>wrote:

> On Mon, 23 Feb 2009, Karl Garrison wrote:
>
>  I have encountered a problem with the wmove() function under PDCurses 3.4
>> - it appears to not change the cursor position at all, as far as I can tell.
>>
>
> It works fine. The problem in your test program is that after every
> wmove(), you're doing a getch(), which does an implicit refresh on stdscr
> (since getch() == wgetch(stdscr)), which moves the cursor back to the
> position it had in stdscr. If you replaced these with wgetch(win), it would
> work as you expect.


Excellent; thanks!  I have been using getch() exclusively in my app;
changing these may well clear-up some other odd behavior I have seen as
well.


Thanks,

Karl Garrison

Reply via email to