diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-13 15:14:45 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-04-13 15:14:45 +0300 |
| commit | 15314877f2f503c20994bbd1e2bf881f5f2d87a6 (patch) | |
| tree | 8b4ba7d786cb3f2a1844f893ce6aa55180c78dbe | |
| parent | c210bb036dcb4ce2e9a276d590be815fc4b09897 (diff) | |
| download | astar-15314877f2f503c20994bbd1e2bf881f5f2d87a6.tar.xz | |
Move the "Saved..." message to map_to_bmp()
| -rw-r--r-- | bmp.c | 2 | ||||
| -rw-r--r-- | main.c | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ #include <stdlib.h> #include <stdint.h> #include <string.h> +#include <curses.h> #include "map.h" #include "path.h" @@ -97,5 +98,6 @@ void map_to_bmp(Map map, size_t map_width, size_t map_height, Position start, Po fclose(fout); free(buf); + message(height, "Saved to %s", filename); return; } @@ -217,7 +217,6 @@ int main(int argc, char **argv) { curs_set(0); /* Hide the cursor */ noecho(); /* Don't echo characters */ - message(height, "Saved to %s", filename); getch(); break; |
