summaryrefslogtreecommitdiff
path: root/src/ui.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.rs')
-rw-r--r--src/ui.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui.rs b/src/ui.rs
index b7e342d..f846349 100644
--- a/src/ui.rs
+++ b/src/ui.rs
@@ -35,7 +35,7 @@ impl UI {
}
pub fn get_paragraph(&self, pid: Pid) -> Paragraph {
- let lines: Vec<Line> = self.lines.iter().map(|x| x.output_ui()).collect();
+ let lines: Vec<Line> = self.lines.iter().map(|x| x.output_ui(pid)).collect();
let paragraph = Paragraph::new(lines)
.block(
Block::default()
@@ -77,7 +77,7 @@ impl UI {
}
let filters: Vec<&str> = match &args.filter {
- Some(filter) => filter.split(",").collect::<Vec<&str>>(),
+ Some(filter) => filter.split(',').collect::<Vec<&str>>(),
None => vec![],
};
while !should_quit {