mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Fix colourized output to file
This change should be backwards compatible, but it would be better to make the console colour API take an argument in the long term. Fixes #1502
This commit is contained in:
		| @@ -160,7 +160,8 @@ namespace { | ||||
|  | ||||
|     private: | ||||
|         void setColour( const char* _escapeCode ) { | ||||
|             Catch::cout() << '\033' << _escapeCode; | ||||
|             getCurrentContext().getConfig().stream() | ||||
|                 << '\033' << _escapeCode; | ||||
|         } | ||||
|     }; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský