fix: update template, prevent double-spaced persisted kernel logs

This commit is contained in:
2026-08-22 12:47:13 +02:00
parent 903218168d
commit 8a74b771e1
21 changed files with 584 additions and 384 deletions
+1 -1
View File
@@ -12,4 +12,4 @@
#pragma once
#define MONTAUK_BUILD_NUMBER 149
#define MONTAUK_BUILD_NUMBER 150
+4 -6
View File
@@ -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;