Kernel: use termios c_cc values instead of hardcoded characters

This commit is contained in:
2025-06-02 15:54:11 +03:00
parent e473118ec8
commit fb466b5af7
5 changed files with 93 additions and 44 deletions

View File

@@ -162,8 +162,8 @@ namespace Kernel
.c_iflag = 0,
.c_oflag = 0,
.c_cflag = CS8,
.c_lflag = ECHO | ICANON,
.c_cc = {},
.c_lflag = ECHO | ICANON | ISIG,
.c_cc = TTY_DEFAULT_TERMIOS_CC,
.c_ospeed = B38400,
.c_ispeed = B38400,
}, mode, uid, gid)