diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-16 18:58:34 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-16 18:58:34 +0300 |
| commit | c524f660a79c33213f873b8246e0f65eb058331f (patch) | |
| tree | 6f72f7305f35b97abab669f20c61b67da68ef80a /main.c | |
| parent | 76067d0625f35f85f0bf775f83c12447d5d12a21 (diff) | |
Change comments to use /* asdf */ syntax
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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)); |
