aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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 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;