mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
Enable colored output for output logs
This commit is contained in:
parent
9e1a65ccee
commit
f5f7d155dc
@ -430,7 +430,7 @@ const Run = function() {
|
|||||||
};
|
};
|
||||||
var firstLog = false;
|
var firstLog = false;
|
||||||
var logHandler = function(vm, d) {
|
var logHandler = function(vm, d) {
|
||||||
state.log += d;
|
state.log += ansi_up.ansi_to_html(d);
|
||||||
vm.$forceUpdate();
|
vm.$forceUpdate();
|
||||||
if (!firstLog) {
|
if (!firstLog) {
|
||||||
firstLog = true;
|
firstLog = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user