summaryrefslogtreecommitdiff
path: root/keypair.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2017-01-02 12:51:04 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-01-05 10:35:05 +0100
commitfad3a14b7fd8cc490a1625e0dbdf606e4c896476 (patch)
tree522774267294db2e8a7f6182328c66b4f27c1fbe /keypair.h
parent39b95ab409445ee761811e909a1742ad4985ff87 (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 'keypair.h')
0 files changed, 0 insertions, 0 deletions