Autocomplete channel name with tab (#53)

This commit is contained in:
Worive authored and GitHub committed 2026-01-05 10:21:14 +08:00
1 parent a05267a566
commit 88a6021546
1 file changed
+5
@@ -261,6 +261,11 @@ public class GuiScreenConfigureChannels extends GuiContainer implements IGuiScre
switch (aKey) {
case Keyboard.KEY_TAB:
if (key.isFocused()) {
if (autoCompleteList.getSelectedElement() != null) {
key.setText(autoCompleteList.getSelectedElement());
return;
}
key.setFocused(false);
value.setFocused(true);
} else {