diff --git a/cli/tools/repl/mod.rs b/cli/tools/repl/mod.rs index c22937e0806aa5..b2146a4ffa235a 100644 --- a/cli/tools/repl/mod.rs +++ b/cli/tools/repl/mod.rs @@ -198,8 +198,8 @@ pub async fn run(flags: Flags, repl_flags: ReplFlags) -> Result { if editor.should_exit_on_interrupt() { break; } - editor.set_should_exit_on_interrupt(true); - println!("press ctrl+c again to exit"); + editor.set_should_exit_on_interrupt(false); + println!("press ctrl+d to exit"); continue; } Err(ReadlineError::Eof) => {