Public bug reported: Using the following code I cant move the window with mvwin ============================================================ #include <ncurses.h> #include <stdlib.h>
void quit(); int main(int argc, char** argv) { initscr(); atexit(quit); curs_set(0); noecho(); WINDOW *win = newwin(0,0,0,0); // <-- Defference mvwin(win,10,10); wresize(win,10,10); refresh(); box(win,0,0); wrefresh(win); getch(); return 0; } void quit() { endwin(); } ============================================================ Changing the window start coordinates to 1,1 and it works. ============================================================ #include <ncurses.h> #include <stdlib.h> void quit(); int main(int argc, char** argv) { initscr(); atexit(quit); curs_set(0); noecho(); WINDOW *win = newwin(1,1,0,0); // <-- Defference mvwin(win,10,10); wresize(win,10,10); refresh(); box(win,0,0); wrefresh(win); getch(); return 0; } void quit() { endwin(); } ** Affects: ncurses (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1783162 Title: mvwin doesn't work if window is created with zero coordinates. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ncurses/+bug/1783162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs