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.
The move() function appears to work normally, however.

Here is a code snippet that works fine with ncurses, but does not work with
PDCurses 3.4.  I have tested the sdl, XCurses, and win32 versions.

Has anyone else encountered this?  Is there a previous version where this
function works, or a development version, perhaps?

Thanks,

Karl Garrison


---

#include "curses.h"

int main()
{
    WINDOW *win;

    initscr();
    win = newwin(20, 20, 1, 1);
    refresh();
    box(win, 0, 0);
    wmove(win, 1, 1);
    wrefresh(win);
    getch();
        wmove(win, 5, 5);
        wrefresh(win);
        getch();
        wmove(win, 10, 10);
        wrefresh(win);
        getch();
        wmove(win, 15, 15);
        wrefresh(win);
        getch();
    endwin();
}

Reply via email to