TUI grid/matrix like widget

I’d like to build some terminal/console application with an user interface and heavy usage of multiple selectable options in a grid of rows and columns. Matrix-like shape:

±-----------------------------------------+
| [option11] [option12] [option13] |
| [option21] [option22] [option23] |
| [option31] [option32] [option33] |
±-----------------------------------------+

I’ve started to fiddle with widely used Bubbletea & LipGloss packages, but their table component logic can handle only cursor’s row position, not column.

I’m asking if I do have to make my own implementation of such widget(like set of multiple list components) or is there an already ready-to-use solution?

Hmm, now I can see lipgloss/table has StyleFunc for both row and column arguments. So dawdling with bubbles/table package was a blind alley…

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.