Console: Fix newline logging regression

This commit is contained in:
chaoticgd 2024-11-28 09:04:56 +00:00 committed by Ty
parent 4eae1b7127
commit 2501d87840
1 changed files with 1 additions and 4 deletions

View File

@ -103,10 +103,7 @@ public:
{
// Ignore control characters.
// Otherwise you get fun bells going off.
if (ch < 0x20)
continue;
if (ch != '\n')
if (ch >= 0x20)
m_buffer.push_back(ch);
if (ch == '\n' || m_buffer.size() >= 4096)