aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJonas Maier <jonas@x77.dev>2026-05-22 21:31:19 +0200
committerJonas Maier <jonas@x77.dev>2026-05-22 21:31:19 +0200
commite4132ff564c59be72c6546752077a8f33bb4c00f (patch)
tree7c9f1588a2253f152c4daa1b21df8f3d13060974 /src/lib.rs
parenteeb267c46340d5d47f41cc2440f0b281f9ae9261 (diff)
downloadpish-e4132ff564c59be72c6546752077a8f33bb4c00f.tar.gz
syntax highlighting fixes
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()?;
}
}