aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorKirill Petrashin <kirill8201@yandex.ru>2026-03-16 18:58:34 +0300
committerKirill Petrashin <kirill8201@yandex.ru>2026-03-16 18:58:34 +0300
commitc524f660a79c33213f873b8246e0f65eb058331f (patch)
tree6f72f7305f35b97abab669f20c61b67da68ef80a /main.c
parent76067d0625f35f85f0bf775f83c12447d5d12a21 (diff)
Change comments to use /* asdf */ syntax
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));