diff options
| author | Jonas Maier <jonas@x77.dev> | 2026-05-22 21:59:51 +0200 |
|---|---|---|
| committer | Jonas Maier <jonas@x77.dev> | 2026-05-22 21:59:51 +0200 |
| commit | 40e64a767a70ea5c04e4ab9fa6dd7ceac0ea882b (patch) | |
| tree | 73fd4642f1d7b89c8fc3e8df06642ff6bfd3eeb8 /src/lib.rs | |
| parent | e4132ff564c59be72c6546752077a8f33bb4c00f (diff) | |
| download | pish-40e64a767a70ea5c04e4ab9fa6dd7ceac0ea882b.tar.gz | |
syntax highlighting bug fixes
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -222,9 +222,11 @@ impl Session { fn reprint_prompt(this: Arc<Mutex<Self>>) { io::stdout().write_all(&Self::prompt(this.clone())).unwrap(); - let this = this.lock().unwrap(); + let mut this = this.lock().unwrap(); this.line.display_pre(); this.line.display_post(b""); + this.line.mark_dirty(); + this.cohere().unwrap(); } fn display_historic_entry(&mut self) { |
