pub fn ask<R: BufRead, W: Write>( default: &Path, input: &mut R, output: &mut W, ) -> Result<PathBuf>
The prompt itself, with I/O injected so it can be tested without a terminal.