mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 17:48:17 +00:00
Fix cli comments parsing
This commit is contained in:
parent
20ea8fb941
commit
285eeccb84
1 changed files with 3 additions and 0 deletions
|
@ -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(());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue