Commit Graph
18 Commits
Author SHA1 Message Date
Maciej WięcekandGitHub 9ffcdc06a0 feat(table): implement help.Keymap interface and add quit mapping (#440)
* feat(table): implement help.Keymap interface and add quit mapping

* feat(table): implement help.Keymap interface and add quit mapping
2024-02-28 14:12:37 -05:00
1029f3164d (fix)table: don't render a column with a width <= 0 (#465)
* (fix)table: don't render a column with a width <= 0

This address #464

* Better check location

---------

Co-authored-by: Fabrice Bessettes <fbessett@cisco.com>
2024-02-28 12:15:07 -05:00
Abe LeiningerandGitHub 9a7c783a75 feat(table): added column return func (#369) 2024-02-28 11:39:37 -05:00
af7e9ed3e1 Render Row Tests (#487)
* test(table): add renderRow test

* refactor(table): row tests

---------

Co-authored-by: Bill Havanki <bill.havanki@segment.com>
2024-02-28 11:30:22 -05:00
Stefan BildlandMaas Lalani 3a1a24e211 refactor(table): remove unused cmds variable 2023-03-17 13:47:12 -04:00
Mikael FangelandGitHub 7ba044773b fix: add bounds checking to the selectedrow func (#351) 2023-03-11 15:47:31 +01:00
Glenn GondaandChristian Rocha 3d3ed883d3 docs: fix typos and improve comment clarity 2023-02-16 17:49:32 -05:00
Yusuf Malikul MulkiandGitHub 30998513ba ypo (#300) 2023-01-19 00:20:02 -05:00
Maas Lalani e78f923af6 feat(table): add SetColumns method to set columns 2022-12-01 09:41:08 -05:00
Marc-AntoineandMaas Lalani b528165592 expose table's rows 2022-12-01 09:30:35 -05:00
Jager,PetarandMaas Lalani 94252ef3b9 remove renderedlines from table struct 2022-12-01 09:24:30 -05:00
Jager,PetarandMaas Lalani 7392b363bd fix: corner cases, YOffset manipulation for orig. scrolling 2022-12-01 09:24:30 -05:00
Jager,PetarandMaas Lalani 41478c3031 Table: Make UpdateViewport() have constant runtime, not depending on number of rows in a table 2022-12-01 09:24:30 -05:00
Christian Muehlhaeuser 4ae575a4c5 chore: use latest gofmt 2022-09-26 08:13:03 +02:00
Bastian WinklerandMaas Lalani 13f52d678d fix(table): append headers/columns to zero sized string slice 2022-09-02 16:30:15 -04:00
Nicolas KarolakandGitHub afd6f58c18 feat(table): add function to set cursor position (#219) 2022-08-30 20:54:25 -04:00
776062e30c fix(table): correct keybinding for page down (#220)
Co-authored-by: Bastian Winkler <buz@serious.im>
2022-08-21 09:56:58 -04:00
58a9d4c7ec feat: table bubble (#173)
Add table Bubble for displaying tabular data

Co-authored-by: Maas Lalani <maas@lalani.dev>
Co-authored-by: Christian Rocha <christian@rocha.is>
2022-07-21 15:06:38 -04:00