diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2017-01-02 12:51:04 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-01-05 10:35:05 +0100 |
commit | fad3a14b7fd8cc490a1625e0dbdf606e4c896476 (patch) | |
tree | 522774267294db2e8a7f6182328c66b4f27c1fbe /proto.h | |
parent | 39b95ab409445ee761811e909a1742ad4985ff87 (diff) |
flowtop: Minimize delay via halfdelay(1) function
Use halfdelay(1) to poll keyboard input with delay in 1 tenth of second
and get rid of custom usleep(...) using.
With this approach (it is also used in htop tool) the key events are more
sensitive to user inputs.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto.h')
0 files changed, 0 insertions, 0 deletions