Cloudef / bemenu

Dynamic menu library and client program inspired by dmenu
GNU General Public License v3.0
1.21k stars 94 forks source link

Option to make (escape) print selected items and exit. #222

Open aliceofmeiji opened 2 years ago

aliceofmeiji commented 2 years ago

Hi there, i use bemenu on wayland as a substitute for dmenu;

On dmenu, items are printed to stdout at the moment they are selected, so pressing (escape) in the middle of a selection does not throw the selected items away.

I have many uses for this, but the one that i use most is selecting songs to queue; I am not sure when i will be done selecting songs, so when i feel ok with the current selection i just hit (escape) in dmenu and it works fine, but in bemenu it does not work. At the moment i have a empty file named q that mpv just ignores :skull:

I would highly appreciate if this were an option :)

Thank you for your time.

Cloudef commented 2 years ago

This is a bug, as bemenu aims to be functionally identical.