update the ncurses stdscr cursor to where the cursor in our map is */
| 614 | |
| 615 | /* update the ncurses stdscr cursor to where the cursor in our map is */ |
| 616 | void |
| 617 | curses_update_stdscr_cursor(void) |
| 618 | { |
| 619 | #ifndef PDCURSES |
| 620 | int xadj = 0, yadj = 0; |
| 621 | |
| 622 | curses_get_window_xy(MAP_WIN, &xadj, &yadj); |
| 623 | move(curs_y + yadj, curs_x + xadj); |
| 624 | #endif |
| 625 | } |
| 626 | |
| 627 | /* Perform actions that should be done every turn before nhgetch() */ |
| 628 |
no test coverage detected