From 3b7c6c7bbd86b9775df236d96acbeb003f428348 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 23 Jul 2021 18:07:03 +1000 Subject: [PATCH] Common/Log: Fix Unix escape sequences on preexisting consoles --- src/common/log.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/log.cpp b/src/common/log.cpp index cd4f36684..bee5fe3e6 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -406,6 +406,10 @@ void SetConsoleOutputParams(bool Enabled, const char* ChannelFilter, LOGLEVEL Le msw_ReopenStandardPipes(); } } + else + { + msw_EnableVirtualTerminalProcessing(); + } } else {