aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--handlekeys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlekeys.c b/handlekeys.c
index 5721341..2fc6437 100644
--- a/handlekeys.c
+++ b/handlekeys.c
@@ -232,7 +232,7 @@ void handle_keys(long extra, int (*handle_sequence)(long extra, char *sequence),
232 232
233 // TODO - Should only ask for a time out after we get an Escape, or the user requested time ticks. 233 // TODO - Should only ask for a time out after we get an Escape, or the user requested time ticks.
234 // I wanted to use poll, but that would mean using ppoll, which is Linux only, and involves defining swear words to get it. 234 // I wanted to use poll, but that would mean using ppoll, which is Linux only, and involves defining swear words to get it.
235 p = pselect(0 + 1, &selectFds, NULL, NULL, &timeout, &signalMask); 235 p = pselect(0 + 1, &selectFds, NULL, NULL, &timeOut, &signalMask);
236 if (0 > p) 236 if (0 > p)
237 { 237 {
238 if (EINTR == errno) 238 if (EINTR == errno)