A 'selected' option for the
menu function, so the cursor starts at that option on menu load
- Describe your reason for requesting this feature. What problems are you running into?
I'm using Menu to allow a user to customize game settings before starting the game, including increasing or decreasing the difficulty. I call the menu back after picking an option to allow them to continue increasing a setting (for instance, increasing the difficulty multiple times).
- How would this request improve your experience with using Pulp?
Right now a user in the menu moves down to "increase difficulty" and confirms; the menu reloads at difficulty 2. They then move down again to that option and confirm, increasing to difficulty 3. This gets tedious if there are 10 difficulty levels. I'd love to code it so the menu reloaded with the cursor on the same option they'd just confirmed so they could repeatedly hit confirm to ratchet up the difficulty level.
- Include any other details you have relating to this request.
As a potential implementation pattern, this reminds me of the 'selected' ability in html: