fix(dtmm): Trim whitespace in log lines
This commit is contained in:
parent
c7ec318e83
commit
c4425f5b6b
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");
|
||||
if let Some(line) = line.take() {
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue