File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,10 @@ nine ten eleven twelve
98
98
## Width of grid cells
99
99
100
100
This library calculates the width of strings as displayed in the terminal using
101
- the [ ` textwrap ` ] [ textwrap ] library (with the [ ` display_width ` ] [ display_width ] function).
102
- This takes into account the width of characters and ignores ANSI codes.
101
+ the [ ` ansi-width ` ] [ ansi-width ] crate. This takes into account the width of
102
+ characters and ignores ANSI codes.
103
103
104
104
The width calculation is currently not configurable. If you have a use-case for
105
105
which this calculation is wrong, please open an issue.
106
106
107
- [ textwrap ] : https://docs.rs/textwrap/latest/textwrap/index.html
108
- [ display_width ] : https://docs.rs/textwrap/latest/textwrap/core/fn.display_width.html
107
+ [ ansi-width ] : https://docs.rs/ansi-width
You can’t perform that action at this time.
0 commit comments