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
I ran into something sort-of similar in env_logger. The way I worked around it is controlling what i used write! on vs what I called .fmt(f) on, see rust-cli/env_logger@303a9c0
I'm not sure how to fit this in. This is a problem specifically when you are creating a wrapper type for Display and is a problem independent of whether anstyle is in use or not.
I would expect the following (rather silly minimal case) to align columns properly:
It prints:
This is unexpected. So it seems the anstream
println
is not properly aware of how wide colour codes are.The text was updated successfully, but these errors were encountered: