Skip to content

Commit

Permalink
press ctrl-d to exit
Browse files Browse the repository at this point in the history
  • Loading branch information
navigaid committed Sep 30, 2023
1 parent 4f175cd commit 4edfe5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/tools/repl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ pub async fn run(flags: Flags, repl_flags: ReplFlags) -> Result<i32, AnyError> {
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) => {
Expand Down

0 comments on commit 4edfe5a

Please sign in to comment.