chore: release v0.1.10

This commit is contained in:
Jack Wills
2022-12-25 15:48:57 +00:00
parent d849e5fdca
commit 46d4e5a832
5 changed files with 26 additions and 11 deletions
+4 -1
View File
@@ -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