Use the same condition for POLL_FOR_INPUT in both keyboard.c and process.c