bsod: make sure "Press Any Key" has a blue background too

This commit is contained in:
Lennart Poettering
2024-02-20 16:33:01 +01:00
parent 8b23b9e5e5
commit 0a1126c7c2

View File

@@ -221,7 +221,7 @@ static int display_emergency_message_fullscreen(const char *message) {
if (r < 0)
log_warning_errno(r, "Failed to move terminal cursor position, ignoring: %m");
r = loop_write(fd, "Press any key to exit...", SIZE_MAX);
r = loop_write(fd, ANSI_BACKGROUND_BLUE "Press any key to exit...", SIZE_MAX);
if (r < 0) {
ret = log_warning_errno(r, "Failed to write to terminal: %m");
goto cleanup;