summaryrefslogtreecommitdiff
path: root/src/tty.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2018-09-15 14:15:28 -0700
committerJohn Hawthorn <john@hawthorn.email>2018-09-23 11:23:53 -0700
commitc173310a093ba1277f419190ecaa36cdb97455a6 (patch)
tree142e274b822bb0d9ac0e534a74ad866d441c7473 /src/tty.h
parentdc0a9a8e2d56ad9d7b7879fac9935787ce7e8043 (diff)
Allow masking signals in tty_input_ready
Diffstat (limited to 'src/tty.h')
-rw-r--r--src/tty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty.h b/src/tty.h
index a21687d..66f48b9 100644
--- a/src/tty.h
+++ b/src/tty.h
@@ -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, unsigned long timeout);
+int tty_input_ready(tty_t *tty, int timeout, int return_on_signal);
void tty_setfg(tty_t *tty, int fg);
void tty_setinvert(tty_t *tty);