Tomas-M / xlunch

Graphical app launcher for X with minimal dependencies
http://xlunch.org
GNU General Public License v3.0
219 stars 35 forks source link

If the user filtered to 1 app, allow him to just press Enter to start it #21

Closed ghost closed 7 years ago

ghost commented 7 years ago

Thanks for your awesome launcher. I made a little change to allow the user to just press Enter once he filtered to one app.

Before this PR: Example: you type fi and only have 1 app displaying image You have to press Tab once, to select the icon and then you can press Enter to start it.

With this PR: Once you filtered to only 1 application, you won't have to press Tab to select it anymore, just press Enter.

Tomas-M commented 7 years ago

I'm working on this. You just closed it - is it ready to be merged now? Thank you

Tomas-M commented 7 years ago

Looks like everything works fine so I merged it. Thank you for your patches.

lslvr commented 7 years ago

What if on pressed it executes the first suggestion instead?

Tomas-M commented 7 years ago

Not sure what you mean. Please explain in more detail. Thank you.