From f0375e3efe562caf5c981ba3d964bec69dea1b14 Mon Sep 17 00:00:00 2001 From: Daniel Bertalan Date: Sun, 16 May 2021 19:00:48 +0200 Subject: 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. --- Userland/Libraries/LibC/sys/ttydefaults.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibC') 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) -- cgit v1.2.3