Skip to content

Commit

Permalink
tweak output flags
Browse files Browse the repository at this point in the history
  • Loading branch information
avivbeeri committed Mar 1, 2023
1 parent 7c6a8f6 commit 1b40a05
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,12 @@ int main(int argc, char* argv[])
engine.logColor = false;
} else {
engine.logColor = true;
SetConsoleMode(stdOutConsole, ENABLE_VIRTUAL_TERMINAL_PROCESSING);
SetConsoleMode(stdOutConsole,
ENABLE_PROCESSED_OUTPUT ||
ENABLE_VIRTUAL_TERMINAL_PROCESSING ||
ENABLE_WRAP_AT_EOL_OUTPUT ||
DISABLE_NEWLINE_AUTO_RETURN
);
}
} break;
#endif
Expand Down

0 comments on commit 1b40a05

Please sign in to comment.