β About
We are currently looking for a way to list item in our glamourish cli.
We curretly list items as a single naive 1-column list... but we would like to enhance UX by making a view like ls does to see more items in a single shot :
π‘ Idea/Feature request
Is there a way to do this with lipgloss, in such a way ?... I mean without any effort from the developper side ?
For now, the only way for us is to :
- Get the current terminal size
 
- Compute our item max size
 
- computer how many columns could fit
 
- Do the job
 
I guess this is a commonly usage pattern, but I could not find any code sample on the repo on how to achieve this with (almost) no effort.
Thank you in advance for your help π