From 5cc5b0bca183b01722986ef3148883d1a91e426a Mon Sep 17 00:00:00 2001 From: rajajisai Date: Mon, 11 Aug 2025 21:16:43 -0700 Subject: [PATCH] Reset interrupt count each time a new line is entered in CLI --- cli/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/app.rs b/cli/app.rs index d624ce3a7..529e77a22 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -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(()) }