From 76067d0625f35f85f0bf775f83c12447d5d12a21 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Mon, 16 Mar 2026 18:54:21 +0300 Subject: Render start and goal in bold --- map.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'map.c') diff --git a/map.c b/map.c index b0dbb2a..7fc6fd9 100644 --- a/map.c +++ b/map.c @@ -135,6 +135,7 @@ void draw_map(Map map, size_t width, size_t height, Position start, Position goa } // Draw the start + attron(A_BOLD); attron(COLOR_PAIR(START_COLOR)); mvaddch(start.y + DRAW_MAP_OFFSET_Y, start.x*2 + DRAW_MAP_OFFSET_X, START_CHAR_1); mvaddch(start.y + DRAW_MAP_OFFSET_Y, start.x*2 + DRAW_MAP_OFFSET_X + 1, START_CHAR_2); @@ -145,5 +146,6 @@ void draw_map(Map map, size_t width, size_t height, Position start, Position goa mvaddch(goal.y + DRAW_MAP_OFFSET_Y, goal.x*2 + DRAW_MAP_OFFSET_X, GOAL_CHAR_1); mvaddch(goal.y + DRAW_MAP_OFFSET_Y, goal.x*2 + DRAW_MAP_OFFSET_X + 1, GOAL_CHAR_2); attroff(COLOR_PAIR(GOAL_COLOR)); + attroff(A_BOLD); } -- cgit v1.2.3