fix: update template, prevent double-spaced persisted kernel logs
This commit is contained in:
1 parent
903218168d
commit
8a74b771e1
21 files changed
+584
-384
No files matched your search
@@ -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--) {
|
||||
|
||||
Reference in new issue
Block a user