Commit graph

11 commits

Author SHA1 Message Date
Christian Muehlhaeuser
af9d065816
fix: reject empty table data
When we treat the first line of a table as its column data, we need
to check if additional data was provided afterwards.

Fixes #304.
2023-03-11 13:15:10 +01:00
Mikael Fangel
2bda001480
fix(table): removed inheritance for selected foreground (#300) 2023-03-09 12:35:06 -05:00
Mikael Fangel
1267b7a78e
fix: added esc-key to quit table (#290) 2023-03-06 14:17:47 -05:00
Lee Marlow
e38cfdaa10 Collapse err assignment and check 2022-11-07 10:09:56 -05:00
Lee Marlow
7bb92dec2f Set writer.Comma in same manner as reader.Comma
Fix linting issue with ignoring an error
2022-11-07 10:09:56 -05:00
Lee Marlow
e20d3a97f0 Use encoding/csv to write proper CSV for the selected row 2022-11-07 10:09:56 -05:00
Maas Lalani
2e4ddce3f7
fix: use program.Start 2022-10-17 20:23:59 -04:00
Maas Lalani
844727f185
fix(table): hide extra style flags + fix envprefix 2022-10-13 11:02:08 -04:00
Maas Lalani
b4c07eb3b9
fix(table): invalid column number 2022-10-11 14:40:25 -04:00
Maas Lalani
995bd04e38 docs: document gum table, file, pager
This commit documents `gum table`, `gum file`, and `gum pager` with
demonstration GIFs and sample scripts.
2022-10-07 15:38:48 -04:00
Maas Lalani
bdd86d5fbc feat(table): gum table for tabular data 2022-10-07 15:38:48 -04:00