Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use --index without hiding the other options #402

Open
UtkarshVerma opened this issue May 13, 2024 · 0 comments
Open

Use --index without hiding the other options #402

UtkarshVerma opened this issue May 13, 2024 · 0 comments

Comments

@UtkarshVerma
Copy link

Over on the X11 side, I used -ps in dmenu to preselect an option in the menu indicating a mode or state that is currently active. Reading up the manpage for bemenu, I expected --index to do the same for me.

However, I noticed that while the passed index is preselected, the items on the left of the option are hidden. Is there any way to show the items before the selected item?

For example, executing the command below only shows C where I expect A, B, and C to be shown with C being highlighted.

echo "A
B
C" | bemenu --index 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant