repl-reader only prompts if no input is available