Colorize log output #97
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ impl AppDelegate<State> for Delegate {
|
||||||
.expect("command type matched but didn't contain the expected value");
|
.expect("command type matched but didn't contain the expected value");
|
||||||
if let Some(line) = line.take() {
|
if let Some(line) = line.take() {
|
||||||
let line = String::from_utf8_lossy(&line);
|
let line = String::from_utf8_lossy(&line);
|
||||||
state.log.push_back(ansi_to_rich_text(&line));
|
state.log.push_back(ansi_to_rich_text(line.trim()));
|
||||||
}
|
}
|
||||||
Handled::Yes
|
Handled::Yes
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue