Ayman Bagabas
|
f6f93348b0
|
feat: switch to term/ansi for text manipulation (#268)
* feat: switch to term/ansi for text manipulation
Use ANSI aware, wide characters support, uniseg backed term/ansi package
to calculate string widths, truncate, and wrap strings.
Related: https://github.com/muesli/reflow/pull/71
Fixes: https://github.com/charmbracelet/lipgloss/issues/258
Fixes: https://github.com/charmbracelet/lipgloss/issues/220
* Update get.go
|
2024-03-29 15:05:18 -04:00 |
|
Ayman Bagabas
|
f16ea2bdcb
|
feat(table): replace stripansi with ansi.Strip
Use term/ansi to strip out ANSI sequences
|
2024-03-25 09:03:15 -04:00 |
|
Michael Lorant
|
de4601232b
|
Fix truncate of table cells containing ANSI (#256)
|
2024-02-02 19:04:43 -05:00 |
|
Maas Lalani
|
f093bc1509
|
Make headers []string (#234)
* fix: make headers `[]string`
* downgrade Lip Gloss to 1.17
|
2023-10-12 00:53:13 -04:00 |
|
Maas Lalani
|
42db873617
|
test(table): ensure README example works
|
2023-10-10 11:32:42 -04:00 |
|
Maas Lalani
|
4476263d05
|
Feature: Tables (#218)
* feat: tables
* fix(table): examples
* docs(table): `any` -> `string`
* chore: go mod tidy
* docs(table): update image
* fix(table): lint
* fix: remove binary
* chore: color adjustments to pokemon example (#231)
* fix(table): support rendering empty data sets
* chore(table): simplify table's data interface
* fix(table): correct GoDoc + add doc comments to Data methods
---------
Co-authored-by: Christian Rocha <christian@rocha.is>
Co-authored-by: Christian Muehlhaeuser <muesli@gmail.com>
|
2023-10-10 10:27:52 -04:00 |
|