diff options
author | Frédéric Brière <fbriere@fbriere.net> | 2019-06-28 23:48:04 -0400 |
---|---|---|
committer | Frédéric Brière <fbriere@fbriere.net> | 2019-06-29 19:48:27 -0400 |
commit | d26fa24087265dd4e9dccf0db261da0e6f093c8e (patch) | |
tree | 8de0bd9f14ada32c8c47448d7c387cf7d600e5e8 /src/util.h | |
parent | cedd61a753785831f71ae5582c134c816c92700d (diff) | |
download | twinkle-d26fa24087265dd4e9dccf0db261da0e6f093c8e.tar twinkle-d26fa24087265dd4e9dccf0db261da0e6f093c8e.tar.gz twinkle-d26fa24087265dd4e9dccf0db261da0e6f093c8e.tar.lz twinkle-d26fa24087265dd4e9dccf0db261da0e6f093c8e.tar.xz twinkle-d26fa24087265dd4e9dccf0db261da0e6f093c8e.zip |
Make Readline non-blocking: Wrap select(2) around Readline call
By only invoking rl_callback_read_char() when there is actual input on
stdin, we can now avoid blocking on Readline calls.
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions