mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-29 14:04:22 +01:00
Fix cli comments parsing
This commit is contained in:
@@ -434,6 +434,9 @@ impl Limbo {
|
||||
line: &str,
|
||||
rl: &mut rustyline::DefaultEditor,
|
||||
) -> anyhow::Result<()> {
|
||||
if line.trim_start().starts_with("--") {
|
||||
return Ok(());
|
||||
}
|
||||
if self.input_buff.is_empty() {
|
||||
if line.is_empty() {
|
||||
return Ok(());
|
||||
|
||||
Reference in New Issue
Block a user