lineedit: add a comment about possible use of tcflush()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
00eb23b47a
commit
fae7332ebf
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user