diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-10-07 01:44:03 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-10-07 01:44:03 +0100 |
| commit | c3747fab5615ede222559a00501160773b82a2c2 (patch) | |
| tree | 3d4df67847b34411b9592c39191763c84d28e209 /src/debug/Log.cpp | |
| parent | dc72259a5443116e892c49e37552ca5f82525ca6 (diff) | |
hookSystem: fix anchoring in seekNewPageAddr()
otherwise we might miss the chance to get an anchor
Diffstat (limited to 'src/debug/Log.cpp')
| -rw-r--r-- | src/debug/Log.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug/Log.cpp b/src/debug/Log.cpp index 8d84840e..e70617d3 100644 --- a/src/debug/Log.cpp +++ b/src/debug/Log.cpp @@ -71,6 +71,8 @@ void Debug::log(eLogLevel level, std::string str) { } // log it to the stdout too. - if (!m_disableStdout) + if (!m_disableStdout) { std::println("{}", ((m_coloredLogs && !**m_coloredLogs) ? str : coloredStr)); + std::fflush(stdout); + } } |
