aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-05 10:51:41 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-05 10:51:41 +0300
commit3800654c56fc598bffda5b93fbe9dc7f88896fc2 (patch)
treeb4801f51fc980ecf0af98528e330b4dcae189a77 /main.c
parent81c2e4ceed1da913d6137f7d3fd8af1ddf9faedc (diff)
downloadastar-3800654c56fc598bffda5b93fbe9dc7f88896fc2.tar.xz
Fix a rendering bug
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index fa2207b..7e74c58 100644
--- a/main.c
+++ b/main.c
@@ -198,6 +198,7 @@ int main(int argc, char **argv) {
path_free(path, height);
map_editor(&map, &width, &height, &start_pos, &end_pos);
+ wrefresh(curscr);
visited = visited_new(width, height);
path = path_func(dirs, map, width, height, start_pos, end_pos, visited, anim);