Skip to content

Commit

Permalink
Update log.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
bwp91 committed Dec 10, 2023
1 parent 2d03b6b commit d872cc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/app/core/log.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,14 @@ export class LogService {
if (line.match(/36m\[.*?]/)) {
includeNextLine = false;
} else {
console.log(`$${line}$`);
this.term.write(line + '\n\r');
return;
}
}

if (line.includes(`36m[${this.pluginName}]`)) {
console.log(`$${line}$`);
this.term.write(line + '\n\r');
includeNextLine = true;
}
Expand Down

0 comments on commit d872cc7

Please sign in to comment.