summaryrefslogtreecommitdiff
path: root/cli/repl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/repl.rs')
-rw-r--r--cli/repl.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/repl.rs b/cli/repl.rs
index be887e941..1bb5df096 100644
--- a/cli/repl.rs
+++ b/cli/repl.rs
@@ -402,7 +402,8 @@ pub async fn run(
editor.lock().unwrap().add_history_entry(line.as_str());
}
Err(ReadlineError::Interrupted) => {
- break;
+ println!("exit using ctrl+d or close()");
+ continue;
}
Err(ReadlineError::Eof) => {
break;