kernel: Avoid printing control characters that we don't have a special meaning for

This commit is contained in:
apio 2023-04-26 20:42:08 +02:00
parent 36bc217056
commit 099f6131d1
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -2,6 +2,7 @@
#include "boot/bootboot.h"
#include "video/Framebuffer.h"
#include <luna/CString.h>
#include <luna/CType.h>
#include <luna/Format.h>
#include <luna/Result.h>
#include <luna/ScopeGuard.h>
@ -109,6 +110,7 @@ namespace TextConsole
}
break;
default: {
if (_iscntrl(c)) return;
putwchar_at(c, g_x_position, g_y_position);
next_char();
if (at_end_of_screen())