use terminal to input for all platforms