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

This commit is contained in:
daniel committed 2026-08-22 12:47:13 +02:00
1 parent 903218168d
commit 8a74b771e1
21 files changed
+584 -384

No files matched your search

+2 -1
View File
@@ -240,7 +240,8 @@ struct TextBox {
cursor--;
text[text_len] = '\0';
}
} else if (key.ascii >= 32 && key.ascii < 127) {
} else if ((unsigned char)key.ascii >= 32
&& (unsigned char)key.ascii != 127) {
// Printable character
if (text_len < 254) {
for (int i = text_len; i > cursor; i--) {