mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-21 07:55:18 +01:00
Reset interrupt count each time a new line is entered in CLI
This commit is contained in:
@@ -580,6 +580,7 @@ impl Limbo {
|
||||
}
|
||||
return Ok(());
|
||||
}
|
||||
self.reset_line(line)?;
|
||||
if line.ends_with(';') {
|
||||
self.buffer_input(line);
|
||||
let buff = self.input_buff.clone();
|
||||
@@ -588,7 +589,6 @@ impl Limbo {
|
||||
self.buffer_input(format!("{line}\n").as_str());
|
||||
self.set_multiline_prompt();
|
||||
}
|
||||
self.reset_line(line)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user