diff options
| author | WormHeamer | 2025-12-28 04:19:59 -0500 |
|---|---|---|
| committer | WormHeamer | 2025-12-28 04:19:59 -0500 |
| commit | 615601fb355709d611d18f878f77c993c312f6aa (patch) | |
| tree | 5fb32e00c201944f9c77308da1ab9bee443bdf7c /vui.c | |
| parent | 9f4310c24ca39284ad768a82d368e749b18fd76c (diff) | |
lots of features & bugfixes both
Diffstat (limited to 'vui.c')
| -rw-r--r-- | vui.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -217,15 +217,17 @@ void vui_init(void) { tcgetattr(STDIN_FILENO, &vui_init_stdin_tos); vui_raw_stdin_tos = vui_init_stdin_tos; /* - vui_raw_stdin_tos.c_lflag &= ~(ECHO | ECHONL | ICANON | IEXTEN | ISIG); - vui_raw_stdin_tos.c_lflag |= IGNBRK; - */ - vui_raw_stdin_tos.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON); - //vui_raw_stdin_tos.c_oflag &= ~OPOST; vui_raw_stdin_tos.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN); vui_raw_stdin_tos.c_cflag &= ~(CSIZE | PARENB); vui_raw_stdin_tos.c_cflag |= CS8; + */ + //vui_raw_stdin_tos.c_lflag &= ~(ECHO | ECHONL | ICANON); + + vui_raw_stdin_tos.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON); + vui_raw_stdin_tos.c_oflag &= ~(OPOST); + vui_raw_stdin_tos.c_cflag |= (CS8); + vui_raw_stdin_tos.c_lflag &= ~(ECHO | ICANON | IEXTEN | ISIG); tcsetattr(STDIN_FILENO, TCSANOW, &vui_raw_stdin_tos); |
