diff options
author | Denys Vlasenko | 2020-12-21 21:55:03 +0100 |
---|---|---|
committer | Denys Vlasenko | 2020-12-21 21:55:03 +0100 |
commit | fae7332ebf0f059039a8ede16a57da9646051159 (patch) | |
tree | bea9272e2acefadcaba526dc81e238e89f11080b | |
parent | 00eb23b47aa79461b913b320eba3c95b90e6eec4 (diff) | |
download | busybox-fae7332ebf0f059039a8ede16a57da9646051159.zip busybox-fae7332ebf0f059039a8ede16a57da9646051159.tar.gz |
lineedit: add a comment about possible use of tcflush()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/lineedit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index b3e7aba..499be49 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c @@ -2911,6 +2911,7 @@ int FAST_FUNC read_line_input(line_input_t *st, const char *prompt, char *comman * before it comes in. UGLY! */ usleep(20*1000); +// MAYBE? tcflush(STDIN_FILENO, TCIFLUSH); /* flushes data received but not read */ } #endif |