diff --git a/cli/src/session.rs b/cli/src/session.rs index 0eef9f5c..f63355e0 100644 --- a/cli/src/session.rs +++ b/cli/src/session.rs @@ -127,6 +127,7 @@ impl Session { eprintln!("io err: {err}"); } ReadlineError::Interrupted => { + self.query = None; println!("^C"); } ReadlineError::Eof => {