You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to add a color specifier to fmt::format, fmt::vformat just like it is possible with fmt::print and fmt::vprint? I'm having an issue where I only want part of a string to be colored, so I'd like to wrap it in fmt::format and pass the colored result to a fmt::print, but currently that is not possible. I thought about changing it myself but it required more changes than expected and I don't fully know how the code works.
Great library, by the way!
The text was updated successfully, but these errors were encountered:
Naios
added a commit
to Naios/fmt
that referenced
this issue
Dec 30, 2018
Would it be possible to add a color specifier to
fmt::format
,fmt::vformat
just like it is possible withfmt::print
andfmt::vprint
? I'm having an issue where I only want part of a string to be colored, so I'd like to wrap it infmt::format
and pass the colored result to afmt::print
, but currently that is not possible. I thought about changing it myself but it required more changes than expected and I don't fully know how the code works.Great library, by the way!
The text was updated successfully, but these errors were encountered: