diff options
author | John Hawthorn <john@hawthorn.email> | 2018-09-15 17:15:42 -0700 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2018-09-23 11:23:53 -0700 |
commit | b039ea1d9d5361bb3bbbdb10dd2f455028ff7fcb (patch) | |
tree | d818c2a2dd751ae2d02718342c1175a0b252a123 /src/tty.h | |
parent | c173310a093ba1277f419190ecaa36cdb97455a6 (diff) |
Allow -1 timeout to mean infinite
Diffstat (limited to 'src/tty.h')
-rw-r--r-- | src/tty.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ void tty_close(tty_t *tty); void tty_init(tty_t *tty, const char *tty_filename); void tty_getwinsz(tty_t *tty); char tty_getchar(tty_t *tty); -int tty_input_ready(tty_t *tty, int timeout, int return_on_signal); +int tty_input_ready(tty_t *tty, long int timeout, int return_on_signal); void tty_setfg(tty_t *tty, int fg); void tty_setinvert(tty_t *tty); |