Use this adapter class for all things output, pass it around instead of raw ostream references.
Something like:
```cxx
class formatted_output
{
ostream& _os;
bool _ansi_enabled{};
public:
template<typename U>
formatted_output&
operator<<(U const& other)
{
_os << other;
return *this;
}
formatted_output&
operator<<(ansi const& a)
{
if (_ansi_enabled) {
_os << a;
}
return *this;
}
};
```
Use this adapter class for all things output, pass it around instead of raw `ostream` references.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Something like:
Use this adapter class for all things output, pass it around instead of raw
ostreamreferences.Also add
--no-coloroption tooptions.hxx(to control_ansi_enabled).