Added TAB autocomplete

Now handles TAB keypresses and ask the server for an autocompletion,
just like a vanilla client does.
This commit is contained in:
ORelio 2013-08-06 12:25:09 +02:00
parent d1770ebb02
commit 88105d30ad
3 changed files with 53 additions and 2 deletions

View file

@ -123,6 +123,7 @@ namespace MinecraftClient
//Will handle the connection for this client
Console.WriteLine("Version is supported.");
MinecraftCom handler = new MinecraftCom();
ConsoleIO.SetAutoCompleteEngine(handler);
handler.setVersion(protocolversion);
//Load & initialize bots if needed