commit | fae7332ebf0f059039a8ede16a57da9646051159 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Mon Dec 21 21:55:03 2020 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Mon Dec 21 21:55:03 2020 +0100 |
tree | bea9272e2acefadcaba526dc81e238e89f11080b | |
parent | 00eb23b47aa79461b913b320eba3c95b90e6eec4 [diff] [blame] |
lineedit: add a comment about possible use of tcflush() Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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 @@ * before it comes in. UGLY! */ usleep(20*1000); +// MAYBE? tcflush(STDIN_FILENO, TCIFLUSH); /* flushes data received but not read */ } #endif