aboutsummaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c2
1 files changed, 2 insertions, 0 deletions
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);
}