diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-28 10:27:46 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-28 10:27:46 +0300 |
| commit | 1fb585dafa404b41225c6f16305fd2225d3fff47 (patch) | |
| tree | 4721708504299dec4ff8081195493168f536a957 /main.c | |
| parent | 1b61de11bc1dbd48062abe21e687981b11f950e7 (diff) | |
| download | astar-1fb585dafa404b41225c6f16305fd2225d3fff47.tar.xz | |
Improve anim() and make it toggleable with a keybind
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -133,6 +133,7 @@ int main(int argc, char **argv) { case 'l': offset_x += 2; break; case 'j': offset_y += 1; break; case 'k': offset_y -= 1; break; + case 'a': anim = !anim; break; case 'n': if (is_maze) { map_free(map, height); |
