diff options
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r-- | libbb/xfuncs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 7df1a4cd3..5609858d1 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
@@ -333,7 +333,7 @@ int FAST_FUNC get_termios_and_make_raw(int fd, struct termios *newterm, struct t | |||
333 | *newterm = *oldterm; | 333 | *newterm = *oldterm; |
334 | 334 | ||
335 | #if ENABLE_PLATFORM_MINGW32 | 335 | #if ENABLE_PLATFORM_MINGW32 |
336 | newterm->imode &= | 336 | newterm->w_mode &= |
337 | ~(ENABLE_ECHO_INPUT | ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT); | 337 | ~(ENABLE_ECHO_INPUT | ENABLE_LINE_INPUT | ENABLE_PROCESSED_INPUT); |
338 | #else | 338 | #else |
339 | /* Turn off buffered input (ICANON) | 339 | /* Turn off buffered input (ICANON) |