fix(kernel/tty): temporal removal of ICANON checking

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-03-02 23:57:46 +00:00
parent 9bffe3e013
commit bd02b976a2
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -105,10 +105,10 @@ namespace KernelConsole
debug("string: \"%*s\"", Size, buf); debug("string: \"%*s\"", Size, buf);
for (size_t i = 0; i < Size; i++) for (size_t i = 0; i < Size; i++)
{ {
if (this->TerminalConfig.c_lflag & ICANON) // if (this->TerminalConfig.c_lflag & ICANON)
this->Process(buf[i]); this->Process(buf[i]);
else // else
this->Append(buf[i]); // this->Append(buf[i]);
} }
debug("ret %ld", Size); debug("ret %ld", Size);