aboutsummaryrefslogtreecommitdiff
path: root/libbb/lineedit.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-02-08 20:09:29 +0000
committerRon Yorston <rmy@pobox.com>2017-02-08 20:09:29 +0000
commit373275a708bafb88fa4f0519de2166154f44fed9 (patch)
tree4587b4fd3f695e0f3705b2a217e199f3144df931 /libbb/lineedit.c
parentb74b2619779b1deb903b7766261807df1e9b1f7f (diff)
parentc2b18583a3df06aeecf535c3cea6856aa1f2e205 (diff)
downloadbusybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.tar.gz
busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.tar.bz2
busybox-w32-373275a708bafb88fa4f0519de2166154f44fed9.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 5d9080131..670a1b194 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -2402,7 +2402,7 @@ int FAST_FUNC read_line_input(line_input_t *st, const char *prompt, char *comman
2402 /* ~ECHO, ~ECHONL: turn off echoing, including newline echoing */ 2402 /* ~ECHO, ~ECHONL: turn off echoing, including newline echoing */
2403 /* ~ISIG: turn off INTR (ctrl-C), QUIT, SUSP */ 2403 /* ~ISIG: turn off INTR (ctrl-C), QUIT, SUSP */
2404 new_settings.c_lflag &= ~(ICANON | ECHO | ECHONL | ISIG); 2404 new_settings.c_lflag &= ~(ICANON | ECHO | ECHONL | ISIG);
2405 /* reads would block only if < 1 char is available */ 2405 /* reads will block only if < 1 char is available */
2406 new_settings.c_cc[VMIN] = 1; 2406 new_settings.c_cc[VMIN] = 1;
2407 /* no timeout (reads block forever) */ 2407 /* no timeout (reads block forever) */
2408 new_settings.c_cc[VTIME] = 0; 2408 new_settings.c_cc[VTIME] = 0;