mirror of
				https://github.com/ohwgiles/laminar.git
				synced 2025-06-13 12:54:29 +00:00 
			
		
		
		
	Enable colored output for output logs
This commit is contained in:
		
							parent
							
								
									1f23ec5fb2
								
							
						
					
					
						commit
						1bd4300d1b
					
				| @ -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.replace(/</g,'<').replace(/>/g,'>'); |     state.log += ansi_up.ansi_to_html(d.replace(/</g,'<').replace(/>/g,'>')); | ||||||
|     vm.$forceUpdate(); |     vm.$forceUpdate(); | ||||||
|     if (!firstLog) { |     if (!firstLog) { | ||||||
|       firstLog = true; |       firstLog = true; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user