Hi folks -

I'm fiddling around with using transient for building a menu over a CLI. I wanted some insight into typical transient usage. My main use of transient currently is magit.

I want to build a transient menu which lets me choose from an arbitrary number of options. I will only know the number of options at run time. How do I paginate this with transient?

for example, show only the first 4 elements and map those to `a s d f` and when the user presses `g` show the next 4 elements. Or is there a better way of using transient menus with arbitrary lists of options?

submitted by /u/PigsDogsAndSheep
[link] [comments]