From 3b06a0603f332d55c638f5783eccf1844bdc7e76 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Thu, 8 Jul 2021 17:07:07 +0200 Subject: [PATCH] menu: Reset terminal palette to default after printing entry comment --- stage23/menu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stage23/menu.c b/stage23/menu.c index f7cb0b9b..104e0986 100644 --- a/stage23/menu.c +++ b/stage23/menu.c @@ -594,7 +594,6 @@ refresh: set_cursor_pos(x, y); } - if (selected_menu_entry->sub != NULL) skip_timeout = true; @@ -618,7 +617,7 @@ refresh: set_cursor_pos(0, term_rows - 1); if (selected_menu_entry->comment != NULL) - print("\e[32m%s", selected_menu_entry->comment); + print("\e[32m%s\e[0m", selected_menu_entry->comment); term_double_buffer_flush();