diff options
Diffstat (limited to 'path.c')
| -rw-r--r-- | path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ int anim(Map map, size_t width, size_t height, Position start, Position end, Pos while (1) { draw_map(map, width, height, start, end, cur, NULL, visited, frontier); message(height, "cur: %zu %zu", cur->x, cur->y); - if (automatic) { usleep(ANIM_DELAY_USEC); return 0; } + if (automatic) { wrefresh(stdscr); usleep(ANIM_DELAY_USEC); return 0; } switch (getch()) { case 'h': map_offset_x -= 2; break; case 'l': map_offset_x += 2; break; |
