Use IO.console when possible