forked from Mirrors/bubbletea
Minor improvement to Reflow description
This commit is contained in:
parent
e7d56cf1b0
commit
75e31d0a68
@ -261,8 +261,7 @@ For some Bubble Tea programs in production, see:
|
|||||||
|
|
||||||
* [Bubbles][bubbles]: various Bubble Tea components
|
* [Bubbles][bubbles]: various Bubble Tea components
|
||||||
* [Termenv][termenv]: Advanced ANSI styling for terminal applications
|
* [Termenv][termenv]: Advanced ANSI styling for terminal applications
|
||||||
* [Reflow][reflow]: ANSI-aware methods for formatting blocks of text and measuring widths of strings. Many runes, such as East Asian charcters and emojis, are two cells wide, so measuring a layout with `len()` often won't cut it. Reflow is particularly nice for this as it measures character widths while ignoring any ANSI sequences present.
|
* [Reflow][reflow]: ANSI-aware methods for formatting and generally working with text. Of particular note is `PrintableRuneWidth` in the `ansi` sub-package which measures the physical widths of strings. Many runes, such as East Asian characters, emojis, and various unicode symbols are two cells wide, so measuring a layout with `len()` often won't cut it. Reflow is particularly nice for this as it measures character widths while ignoring any ANSI sequences present.
|
||||||
* [go-runewidth][runewidth]: Measure the physical width of strings in terms of terminal cells. Many runes, such as East Asian charcters and emojis, are two cells wide, so measuring a layout with `len()` often won't cut it.
|
|
||||||
|
|
||||||
[termenv]: https://github.com/muesli/termenv
|
[termenv]: https://github.com/muesli/termenv
|
||||||
[reflow]: https://github.com/muesli/reflow
|
[reflow]: https://github.com/muesli/reflow
|
||||||
|
@ -224,7 +224,7 @@ For some Bubble Tea programs in production, see:
|
|||||||
|
|
||||||
* [Bubbles][bubbles]: various Bubble Tea components
|
* [Bubbles][bubbles]: various Bubble Tea components
|
||||||
* [Termenv][termenv]: Advanced ANSI styling for terminal applications
|
* [Termenv][termenv]: Advanced ANSI styling for terminal applications
|
||||||
* [Reflow][reflow]: ANSI-aware methods for formatting blocks of text and measuring widths of strings. Many runes, such as East Asian charcters and emojis, are two cells wide, so measuring a layout with `len()` often won't cut it. Reflow is particularly nice for this as it measures character widths while ignoring any ANSI sequences present.
|
* [Reflow][reflow]: ANSI-aware methods for formatting and generally working with text. Of particular note is `PrintableRuneWidth` in the `ansi` sub-package which measures the physical widths of strings. Many runes, such as East Asian characters, emojis, and various unicode symbols are two cells wide, so measuring a layout with `len()` often won't cut it. Reflow is particularly nice for this as it measures character widths while ignoring any ANSI sequences present.
|
||||||
|
|
||||||
[termenv]: https://github.com/muesli/termenv
|
[termenv]: https://github.com/muesli/termenv
|
||||||
[reflow]: https://github.com/muesli/reflow
|
[reflow]: https://github.com/muesli/reflow
|
||||||
|
Loading…
Reference in New Issue
Block a user