Skip to content

Commit

Permalink
Merge pull request #5 from uutils/textwrap-description
Browse files Browse the repository at this point in the history
README: update textwrap description
  • Loading branch information
sylvestre authored Feb 18, 2024
2 parents 0820f35 + 580f990 commit 65caa0f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ assert_eq!(
might be what you want if you don't care about ANSI codes. `unicode-width` is
used internally by this crate as well.
- [`textwrap::core::display_width`](https://docs.rs/textwrap/latest/textwrap/core/fn.display_width.html):
Similar functionality to this crate, except that it does not support ANSI
hyperlinks. Another advantage of this crate is that it does not require
pulling in the rest of `textwrap`'s functionality (even though that
functionality is excellent if you need it).
Very similar functionality to this crate and it also supports hyperlinks since version 0.16.1. The
advantage of this crate is that it does not require pulling in the rest of `textwrap`'s functionality
(even though that functionality is excellent if you need it).
- [`console::measure_text_width`](https://docs.rs/console/latest/console/fn.measure_text_width.html):
Similar to `textwrap` and very well-tested. However, it constructs a new
string internally without ANSI codes first and then measures the width of
Expand Down

0 comments on commit 65caa0f

Please sign in to comment.