Prevent inverted colors
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 28s
Builds / ExectOS (i686) (push) Successful in 25s

This commit is contained in:
2023-12-23 22:11:00 +01:00
parent c5b6aa108d
commit 4b683eb2cd

View File

@@ -1166,6 +1166,7 @@ BlDisplayBootMenu()
if(TimeOut > 0)
{
/* Update a message and decrease timeout value */
BlSetConsoleAttributes(Handle.DialogColor | Handle.TextColor);
BlClearConsoleLine(Handle.PosY + Handle.Height + 4);
BlSetCursorPosition(4, Handle.PosY + Handle.Height + 4);
BlConsolePrint(L"The highlighted position will be booted automatically in %ld seconds.", TimeOut);
@@ -1174,6 +1175,7 @@ BlDisplayBootMenu()
else if(TimeOut == 0)
{
/* Time out expired, update a message */
BlSetConsoleAttributes(Handle.DialogColor | Handle.TextColor);
BlClearConsoleLine(Handle.PosY + Handle.Height + 4);
BlSetCursorPosition(4, Handle.PosY + Handle.Height + 4);
BlConsolePrint(L"Booting '%S' now...", MenuEntries[HighligtedEntryId].EntryName);