aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/main.c b/main.c
index 5348807..46ab67a 100644
--- a/main.c
+++ b/main.c
@@ -13,7 +13,7 @@
- Render goal and start in bold */
void sigint_handler(int sig) {
- (void)sig; // We know it's a SIGINT
+ (void)sig; /* We know it's a SIGINT */
endwin();
printf("Received SIGINT\n");
exit(1);
@@ -32,10 +32,10 @@ void initialize_colors(void) {
int main(void) {
signal(SIGINT, sigint_handler);
- initscr(); // Initialize the ncurses screen
- cbreak(); // Process input one char at a time
- curs_set(0); // Hide the cursor
- noecho(); // Don't echo characters
+ initscr(); /* Initialize the ncurses screen */
+ cbreak(); /* Process input one char at a time */
+ curs_set(0); /* Hide the cursor */
+ noecho(); /* Don't echo characters */
initialize_colors();
Map map = rbt_maze_map(20, 10, (unsigned int) time(NULL));