mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-08-17 17:24:16 +00:00
feat(kernel/tty): add TCSETS
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
@@ -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...");
|
||||||
|
Reference in New Issue
Block a user