fix(cli): handle remaining input on EOF

This commit is contained in:
Konstantinos Artopoulos
2025-02-11 00:02:20 +02:00
parent 1da43266e9
commit 839e1ce3e8
2 changed files with 21 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ fn main() -> anyhow::Result<()> {
continue;
}
Err(ReadlineError::Eof) => {
app.handle_remaining_input();
let _ = app.close_conn();
break;
}