feat(kernel/tty): add TCSETS

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-04-04 04:14:19 +00:00
parent 0041300a00
commit f87c3d7e11
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E

View File

@ -143,6 +143,12 @@ namespace KernelConsole
*t = TerminalConfig;
return 0;
}
case TCSETS:
{
struct termios *t = (struct termios *)Argp;
TerminalConfig = *t;
return 0;
}
case TCSETSW:
{
debug("draining output buffer...");