Only send ANSI reset if we applied ANSI formatting