diff options
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) { |
