fix: update template, prevent double-spaced persisted kernel logs
This commit is contained in:
@@ -12,4 +12,4 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#define MONTAUK_BUILD_NUMBER 149
|
||||
#define MONTAUK_BUILD_NUMBER 150
|
||||
|
||||
@@ -205,12 +205,10 @@ namespace Kt {
|
||||
|
||||
void Putchar(char c) {
|
||||
if (g_kernelLogDepth > 0) {
|
||||
if (c == '\n') {
|
||||
RingBufferAppend('\r');
|
||||
RingBufferAppend('\n');
|
||||
} else {
|
||||
RingBufferAppend(c);
|
||||
}
|
||||
// Keep the log as canonical text. CRLF is only needed by the
|
||||
// framebuffer terminal below; storing it in the ring makes file
|
||||
// consumers treat one logical newline as two line breaks.
|
||||
RingBufferAppend(c);
|
||||
|
||||
if (g_suppressKernelLog) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user