aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index ea7830c..44b33d1 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -44,9 +44,10 @@ fn show_threads(stdout: &mut RawTerminal<Stdout>, threads: &Vec<String>, highlig
if highlight {
write!(stdout, "{}", color::Fg(color::Red)).unwrap();
}
- writeln!(stdout, "{}", thread).unwrap();
+ write!(stdout, "{}", thread).unwrap();
if highlight {
write!(stdout, "{}", color::Fg(color::Reset)).unwrap();
}
}
+ stdout.flush().unwrap();
}