We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b2f55 commit 2f216a3Copy full SHA for 2f216a3
lib/util/term.c
@@ -272,7 +272,7 @@ sudo_term_is_raw_int(struct termios *term)
272
if (ISSET(term->c_oflag, OPOST))
273
debug_return_bool(false);
274
275
- if (ISSET(term->c_oflag, ECHO|ECHONL|ICANON))
+ if (ISSET(term->c_lflag, ECHO|ECHONL|ICANON))
276
277
278
debug_return_bool(true);
0 commit comments