feat(kernel/tty): add TCSETS

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

View File

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