We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I do this:
std::cout << rang::fg::blue << "foo: " << rang::style::bold << "some text" << rang::style::reset << " (some more text)" << std::endl;
I get this:
but since I didn't reset fg, I expected to see this:
fg
Is this expected behaviour? The docs seem to imply this should not be happening.
The text was updated successfully, but these errors were encountered:
The order of evaluation of the stream elements wasn't specified until C++17. Are you using an older C++ standard?
Sorry, something went wrong.
Even after using it for decades, C++ continues to surprise! 😄
It's quite possible that I was using C++14 at the time. I have since removed rang and just use fmt's styling in favour of fewer dependencies.
No branches or pull requests
If I do this:
I get this:
but since I didn't reset
fg
, I expected to see this:Is this expected behaviour? The docs seem to imply this should not be happening.
The text was updated successfully, but these errors were encountered: