diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-11 22:21:47 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-11 22:21:47 +0300 |
| commit | 6ea977db5faa9342c90a4feb81a19182b55ab574 (patch) | |
| tree | ed675fddf40669cc36b682a6bee4f4c7dc745b46 /path.c | |
| parent | d676ac91b1906f5de8695facb6b96bf0509e6e1f (diff) | |
| download | astar-6ea977db5faa9342c90a4feb81a19182b55ab574.tar.xz | |
Add macro to print a message
Diffstat (limited to 'path.c')
| -rw-r--r-- | path.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ int anim(Map map, size_t width, size_t height, Position start, Position end, Pos static char automatic = 0; while (1) { draw_map(map, width, height, start, end, cur, NULL, visited, frontier); - mvprintw(height+2 + map_offset_y - 1, map_offset_x - 2, "cur: %zu %zu", cur->x, cur->y); + message(height, "cur: %zu %zu", cur->x, cur->y); if (automatic) { usleep(ANIM_DELAY_USEC); return 0; } switch (getch()) { case 'h': map_offset_x -= 2; break; |
