From edc7d8c0a92c22b1685fe1281c3112dcb07783e9 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Wed, 14 Apr 2021 21:16:24 +0200 Subject: [PATCH] Add lipgloss to README links, move projects below it --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index cff7187..d6d98b5 100644 --- a/README.md +++ b/README.md @@ -249,6 +249,18 @@ there are [Go Docs][docs]. [examples]: http://github.com/charmbracelet/bubbletea/tree/master/examples [docs]: https://pkg.go.dev/github.com/charmbracelet/bubbletea?tab=doc +## Libraries we use with Bubble Tea + +* [Bubbles][bubbles]: various Bubble Tea components +* [Lip Gloss][lipgloss]: Style definitions for nice terminal layouts +* [Termenv][termenv]: Advanced ANSI styling for terminal applications +* [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. + +[bubbles]: https://github.com/charmbracelet/bubbles +[lipgloss]: https://github.com/charmbracelet/lipgloss +[termenv]: https://github.com/muesli/termenv +[reflow]: https://github.com/muesli/reflow + ## Bubble Tea in the Wild For some Bubble Tea programs in production, see: @@ -265,17 +277,6 @@ For some Bubble Tea programs in production, see: * [httpit](https://github.com/gonetx/httpit): a rapid http(s) benchmark tool * [gembro](https://git.sr.ht/~rafael/gembro): a Gemini browser -## Libraries we use with Bubble Tea - -* [Bubbles][bubbles]: various Bubble Tea components -* [Termenv][termenv]: Advanced ANSI styling for terminal applications -* [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 -[reflow]: https://github.com/muesli/reflow -[bubbles]: https://github.com/charmbracelet/bubbles -[runewidth]: https://github.com/mattn/go-runewidth - ## Feedback We'd love to hear your thoughts on this tutorial. Feel free to drop us a note!