From 873f940725d52a52f4be69f4d0b5930bf49724b3 Mon Sep 17 00:00:00 2001 From: MuedeHydra Date: Fri, 13 Dec 2024 00:43:21 +0100 Subject: [PATCH] add title --- src/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index cbcb497..5e9b083 100644 --- a/src/main.c +++ b/src/main.c @@ -165,9 +165,14 @@ void print_speedrun(int terminal_width, int terminal_height, int speed_time){ void print_menu(int terminal_width, int terminal_height, int line){ clear_terminal(); printf("Drücke ? für Hilfe\n"); - print_blank_lines((terminal_height - 19) / 2); + print_blank_lines((terminal_height - 23) / 2); int spaces = (terminal_width - 41) / 2; + print_line("╔═══════════════════════════════════════╗", spaces, ";34"); + print_line("║ Photonics Helfer ║", spaces, ";34"); + print_line("╚═══════════════════════════════════════╝", spaces, ";34"); + printf("\n"); + print_line("┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓", spaces, (0 <= line && line < 1) ? ";31": ";37"); print_line("┃ 1 Ramen Physik ┃", spaces, (0 <= line && line < 1) ? ";31": ";37"); print_line("┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫", spaces, (0 <= line && line < 2) ? ";31": ";37");