Added job count prompt escape code, '\j'

This commit is contained in:
2026-02-25 01:56:24 -05:00
parent 854e127545
commit 45a1c7c75d
3 changed files with 12 additions and 2 deletions

View File

@@ -199,6 +199,11 @@ impl ShedVi {
self.history.reset();
}
pub fn update_prompt(&mut self, prompt: String) {
self.prompt = prompt;
self.needs_redraw = true;
}
fn should_submit(&mut self) -> ShResult<bool> {
let input = Arc::new(self.editor.buffer.clone());
self.editor.calc_indent_level();