aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2a9a1ee..47dbdf5 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -353,6 +353,7 @@ impl Session {
self.highlighter
.pretty_print(&buf, parser.highlights, &mut stdout)?;
cursor::fmove_cursor(cursor::Direction::Left, self.line.right_len(), &mut stdout)?;
+ stdout.flush()?;
}
}