Skip to content

Commit

Permalink
Fix cli comments parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoreis42 committed Jan 16, 2025
1 parent 20ea8fb commit 285eecc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(());
Expand Down

0 comments on commit 285eecc

Please sign in to comment.