4 ms·
Please don't use colored output if you didn't first check the background color of the terminal. If you can't check the background color of the terminal, then do
by amelius 10y ago
Please don't use colored output if you didn't first check the background color of the terminal. If you can't check the background color of the terminal, then don't use colored output.
- farslan 10y agoDid you checked the code? Because it does exactly what you describe already.