aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-04-11 22:26:01 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-04-11 22:26:01 +0300
commit68e787ef8883b75b95134a9649ee257395ca5258 (patch)
tree23f8125c23f215635b13241c3d721defa3662a55
parente423c81971fb362b98e13b8172c107ed4f1af647 (diff)
downloadastar-68e787ef8883b75b95134a9649ee257395ca5258.tar.xz
Add a TODO entry
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 154fc9a..91770a7 100644
--- a/main.c
+++ b/main.c
@@ -146,6 +146,7 @@ int main(int argc, char **argv) {
while (1) {
draw_map(map, width, height, start_pos, end_pos, NULL, path, visited, NULL);
char c = getch();
+ /* TODO: add a keybinding to calculate the path again, or maybe do it on 'a' */
switch (c) {
case 'h': map_offset_x += 2; break;
case 'l': map_offset_x -= 2; break;