=== modified file 'termkey.c' --- termkey.c 2011-05-24 17:17:15 +0000 +++ termkey.c 2011-05-24 15:45:10 +0000 @@ -873,7 +873,7 @@ unsigned char buffer[64]; // Smaller than the default size ssize_t len = read(tk->fd, buffer, sizeof buffer); - if(len == -1 && (errno == EAGAIN || errno == EINTR)) + if(len == -1 && errno == EAGAIN) return TERMKEY_RES_NONE; else if(len < 1) { tk->is_closed = 1;