mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Merge error handlers
- Merge all error handling code into one method - Fix ConsoleIO not clearing the line being typed upon reset - Update console title upon logging in to the server - Pass "failed to ping this IP" to AutoRelog (thx doranchak)
This commit is contained in:
parent
8b261894c8
commit
57c66c82d7
3 changed files with 81 additions and 80 deletions
|
|
@ -14,7 +14,7 @@ namespace MinecraftClient
|
|||
|
||||
public static class ConsoleIO
|
||||
{
|
||||
public static void Reset() { if (reading) { reading = false; Console.Write("\b \b"); } }
|
||||
public static void Reset() { if (reading) { ClearLineAndBuffer(); reading = false; Console.Write("\b \b"); } }
|
||||
public static void SetAutoCompleteEngine(IAutoComplete engine) { autocomplete_engine = engine; }
|
||||
public static bool basicIO = false;
|
||||
private static IAutoComplete autocomplete_engine;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue