mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-30 00:07:59 +00:00
fix(kernel/tty): temporal removal of ICANON checking
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
9bffe3e013
commit
bd02b976a2
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user