commodore
commodore copied to clipboard
Parameter hints when defocusing the tab suggestion box no longer appear without typing a character
The "hints" that appear indicating expected command arguments when you press escape to exit the box with tab suggestions no longer seem to appear as of 1.19 / new commodore versions. This affects LuckPerms, too.
Reproduce (using LP as an example, though you can use this library in another project and experience the same results).
- Fire up a server with the latest Luckperms running Paper (supporting commodore 2.1+)
- Type
/luckperms user player permission set
- You will be presented with a list of tab suggestions. Press ESC to exit the window
- You should see the remaining parameters to enter on the command. Instead, you see an (incorrect) syntax error.
Example of this occurring with my plugin. Here, I've pressed ESC and expect the field name I am on "name" to appear as a hint; [<name>]
Expected result, with LuckPerms:
Actual result (Commodore 2.2 / Paper 69950d5 / Minecraft 1.19.1):
However, parameter hints will appear if you type a character into the field work.
This does not mirror Vanilla behavior, where hints are able to display even before typing a character.
Thank you for your work!
I'm pretty sure this has been an issue for a while now, as I remember this being a problem in 1.18, unless I am misremembering something.