mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 21:42:40 +07:00
stty: allow utf8 input characters
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ void stty(int fd, speed_t speed)
|
||||
/* Timeouts, minimum chars and default flags */
|
||||
term.c_cc[VTIME] = 0;
|
||||
term.c_cc[VMIN] = 1;
|
||||
term.c_iflag = ICRNL|IXON|IXOFF;
|
||||
term.c_iflag = ICRNL|IXON|IXOFF|IUTF8;
|
||||
term.c_oflag = OPOST|ONLCR;
|
||||
term.c_lflag |= ICANON|ISIG|ECHO|ECHOE|ECHOK|ECHOKE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user