Closed smoelius closed 6 months ago
Thanks! First impressions are that I actually really like this. There are a lot fewer casts than I expected. (I also didn't know about SliceIndex
- that's pretty cool.)
The real question will be whether or not it makes the code clearer and easier to read though. I'm going to take some time to digest it over the next few days.
Thanks again for the work!
@djc I think I addressed all of your comments. Please let me know if there are any I missed.
An attempt to add a newtype wrapper, as discussed in https://github.com/console-rs/indicatif/issues/612#issuecomment-1853498395 and https://github.com/console-rs/indicatif/issues/612#issuecomment-1860809497.
Notes
VisualLines
because that was the term introduced in #608, but I am not tied to that name.derive_more
.TermLike
trait. It has both "height" and "width" characteristics, and it seemed weird to modify just one.