Skip to content

Commit

Permalink
I changed this to its equivalent definition macro because why not
Browse files Browse the repository at this point in the history
  • Loading branch information
HerpDerpinstine committed Dec 8, 2021
1 parent 74d5677 commit 0d9bfa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bootstrap/Utils/Console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ bool Console::Initialize()
if (Core::IsRunningInWine())
UseLegacyColoring = true;

mode |= 0x3;
mode |= ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT;
if (!SetConsoleMode(OutputHandle, mode))
{
UseLegacyColoring = true;
mode &= ~0x3;
mode &= ~ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT;
}
else
{
Expand Down

0 comments on commit 0d9bfa2

Please sign in to comment.