aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-28 10:27:46 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-28 10:27:46 +0300
commit1fb585dafa404b41225c6f16305fd2225d3fff47 (patch)
tree4721708504299dec4ff8081195493168f536a957 /main.c
parent1b61de11bc1dbd48062abe21e687981b11f950e7 (diff)
downloadastar-1fb585dafa404b41225c6f16305fd2225d3fff47.tar.xz
Improve anim() and make it toggleable with a keybind
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 eabc052..f3ca178 100644
--- a/main.c
+++ b/main.c
@@ -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);