chore: release v0.1.10
This commit is contained in:
@@ -429,7 +429,7 @@ impl ContainerItem {
|
||||
self.cpu_stats
|
||||
.iter()
|
||||
.enumerate()
|
||||
.map(|i| (i.0 as f64, i.1.0))
|
||||
.map(|i| (i.0 as f64, i.1 .0))
|
||||
.collect::<Vec<_>>()
|
||||
}
|
||||
|
||||
|
||||
@@ -41,7 +41,10 @@ pub mod log_sanitizer {
|
||||
|
||||
/// Remove all ansi formatting from a given string and create tui-rs spans
|
||||
pub fn remove_ansi<'a>(input: &str) -> Vec<Spans<'a>> {
|
||||
raw(&categorise_text(input).into_iter().map(|i|i.text).collect::<String>())
|
||||
raw(&categorise_text(input)
|
||||
.into_iter()
|
||||
.map(|i| i.text)
|
||||
.collect::<String>())
|
||||
}
|
||||
|
||||
/// create tui-rs spans that exactly match the given strings
|
||||
|
||||
Reference in New Issue
Block a user