Check for keyboard line input outside function.