diff --git a/src/main.rs b/src/main.rs index 0b84cd6..61298e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,10 @@ fn main() -> Result<()> { eprintln!("Malformed arguments: {}", args) } }, - Err(ReadlineError::Interrupted) | Err(ReadlineError::Eof) => { + Err(ReadlineError::Interrupted) => { + continue; + } + Err(ReadlineError::Eof) => { break; } Err(err) => {