Kernel/Shell: Fix backspace and delete key byte sequences

This commit is contained in:
2024-10-04 04:14:47 +03:00
parent f5802ca3e5
commit b6e040dfc2
4 changed files with 46 additions and 96 deletions

View File

@@ -237,8 +237,6 @@ namespace Kernel
*ptr = m_input.front();
if (*ptr == '\r')
*ptr = '\n';
if (*ptr == 127)
*ptr++ = '\b', *ptr++ = ' ', *ptr = '\b';
m_input.pop();
ptr++;
}