Merge pull request #507 from despair86/master

move these into a read-write data segment
pull/508/head
Rick V 5 years ago committed by GitHub
commit 04ddcfa142
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2,6 +2,9 @@
#include <util/win32_logger.hpp>
#include <util/logger_internal.hpp>
static CONSOLE_SCREEN_BUFFER_INFO consoleInfo;
static short old_attrs;
namespace llarp
{
Win32LogStream::Win32LogStream(std::ostream& out) : OStreamLogStream(out)

@ -21,8 +21,6 @@ namespace llarp
bool isConsoleModern =
true; // qol fix so oldfag clients don't see ugly escapes
HANDLE fd1 = GetStdHandle(STD_OUTPUT_HANDLE);
CONSOLE_SCREEN_BUFFER_INFO consoleInfo;
short old_attrs;
};
} // namespace llarp
#endif

Loading…
Cancel
Save