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

Can no longer use multiple keys for a hotkey #5

Open
programmerHaaks opened this issue Oct 23, 2023 · 1 comment
Open

Can no longer use multiple keys for a hotkey #5

programmerHaaks opened this issue Oct 23, 2023 · 1 comment

Comments

@programmerHaaks
Copy link

First, thank you for making rofi and rofi-blezz! It's an integral part of my workflow at work and at home.

There seems to have been a regression. Earlier, hotkeys could be multiple letters. So let's say I have a bunch of project I normally open in my IDE. I have the directory "IDE" with hotkey "i". Then I have the project "Bank" and "BankIntegrator". Earlier I could define Bank as "ba" and BankIntegrator as "bi". This seems to be no longer possible.

The issue seems to be the change introduced in to no longer lowercase the hotkey, but respect rofi's case sensitivity settings. The line is https://github.com/davatorium/rofi-blezz/blob/master/src/blezz.c#L150 where utf8_get_char is used to get a single character, discarding the rest. The change was done in 300f37f72b56d8d07cb3ae07415d607ec04ba985

@DaveDavenport
Copy link
Contributor

That it worked in the past was more unintentional then planned. I copied the design of the orginal blezz that was single keypress.

I agree it might be nice to support multiple, a patch would be welcome. (not sure when I have time to look at this).

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

2 participants