You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem here is that the colon key is often shared with another key, and you have to press also a modifier (for example SHIFT).
On my keyboard layout, I have colon and period sharing the same button; to output a colon, I have to press SHIFT.
So, back to your code, I can make it work by activating also SHIFT on the shortcut, for example
Description of the bug
Listen on grid to press colon did not work there is no Key.COLON and even key.of(":") will not work.
Expected behavior
Get a event on pressing ":"
Minimal reproducible example
ui().addShortcutListener((event) -> doSomething() , Key.of(":")).listenOn(component);
Versions
The text was updated successfully, but these errors were encountered: