Skip to content

Consider adding a Spacer (or "separator") to Options, cursor should be jumping over it like there's no tomorrow #441

Closed
@rusq

Description

@rusq

Is your feature request related to a problem? Please describe.
Would be great to have the ability to add a spacer to the Options, i.e.:

image

Describe the solution you'd like
I'd like to be able to add a menu (options) separator, which wouldn't be highlighted by cursor. Cursor should jump over it, pretty much the same behaviour as the usual drop-down OS menus, i.e.

image

Describe alternatives you've considered
Right now, I'm just adding a strings.Repeat, with an empty option value, and when processing, I ignore it, but that presents an inconvenience to a "hypothetical" user. In the first image, it would take only two keypresses to reach the "Exit" Option from "Run" Option, but currently, it takes three.

The other alternative is not to include spacer, which hinders the UX, in my opinion.

Additional context
Maybe I should be writing custom bubbles for my needs, but huh is just so convenient!

And maybe I'm missing something.

Thank you for consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions