curses, moving the cursor