Non-blocking input.