commit | 5b6ce209dd3975bbae6d29b867782d95e437f82b | [log] [tgz] |
---|---|---|
author | Gary Bisson <gbisson@essential.com> | Fri Dec 07 17:14:52 2018 +0100 |
committer | Gary Bisson <gbisson@essential.com> | Tue Jan 15 16:42:59 2019 +0100 |
tree | b98b5ceece733b137fe53041da3f206d5d7d9528 | |
parent | 36521baeb6de6e112cf05b475181e19012893eb8 [diff] |
toolbox: getevent: disable stdout buffering So that the getevent output can be redirected and still be responsive when events occur. A good example is when using 'adb shell getevent' command, this latter would only display the events when the buffer is full. With this patch as soon as an event is received/printed, it is flushed to stdout. Change-Id: I77eee96ed1aa59bf8d82f17eab666976ce966def Signed-off-by: Gary Bisson <gbisson@essential.com>