mirror of
https://code.chipmunk.land/ChomeNS/chipmunkmod.git
synced 2025-11-13 22:16:14 +00:00
fix: finally fix cursor on command manager prefix suggestions whatever
This commit is contained in:
parent
6c92000a5c
commit
86ebdb1eea
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ public class ChatInputSuggestorMixin {
|
||||||
|
|
||||||
show(true);
|
show(true);
|
||||||
});
|
});
|
||||||
} else if (cursor > commandManager.prefix.length() && text.startsWith(commandManager.prefix)) {
|
} else if (cursor >= commandManager.prefix.length() && text.startsWith(commandManager.prefix)) {
|
||||||
final StringReader reader = new StringReader(text);
|
final StringReader reader = new StringReader(text);
|
||||||
reader.setCursor(commandManager.prefix.length()); // Skip the prefix
|
reader.setCursor(commandManager.prefix.length()); // Skip the prefix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue