mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 22:35:10 +00:00
Use TCSADRAIN instead of TCSAFLUSH since some OSes have issues with TCSAFLUSH.
This commit is contained in:
@@ -97,7 +97,7 @@ __unused static const char rcsid[] = "$Sudo$";
|
||||
# define TERM termios
|
||||
# define tflags c_lflag
|
||||
# define term_getattr(f, t) tcgetattr(f, t)
|
||||
# define term_setattr(f, t) tcsetattr(f, TCSAFLUSH|TCSASOFT, t)
|
||||
# define term_setattr(f, t) tcsetattr(f, TCSADRAIN|TCSASOFT, t)
|
||||
#else
|
||||
# ifdef HAVE_TERMIO_H
|
||||
# define TERM termio
|
||||
|
Reference in New Issue
Block a user