diff options
author | Daniel Bertalan <dani@danielbertalan.dev> | 2021-05-16 19:00:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-17 11:00:48 +0200 |
commit | f0375e3efe562caf5c981ba3d964bec69dea1b14 (patch) | |
tree | dbf3badc9d3fd1df31bd2d1d4b21e85b6d482df6 /Userland/Libraries | |
parent | b1b0db946e9d1ec66660f70a4ec05e412bb331b6 (diff) | |
download | serenity-f0375e3efe562caf5c981ba3d964bec69dea1b14.zip |
Kernel+LibC: Support more `termios` settings in TTY
This commit adds support for the various ECHO* lflags and fixes some
POSIX conformance issues around newline handling. Also included are
error messages when setting not implemented settings.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibC/sys/ttydefaults.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/sys/ttydefaults.h b/Userland/Libraries/LibC/sys/ttydefaults.h index d9fb3a6f95..f82f98781e 100644 --- a/Userland/Libraries/LibC/sys/ttydefaults.h +++ b/Userland/Libraries/LibC/sys/ttydefaults.h @@ -6,7 +6,7 @@ #pragma once -#define TTYDEF_IFLAG (ICRNL | IXON | IXANY) +#define TTYDEF_IFLAG (ICRNL) #define TTYDEF_OFLAG (OPOST | ONLCR) #define TTYDEF_LFLAG_NOECHO (ISIG | ICANON) #define TTYDEF_LFLAG_ECHO (TTYDEF_LFLAG_NOECHO | ECHO | ECHOE | ECHOK | ECHONL) |