-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When starting MCC through a script / redirected input, the following exception occurs:
Unhandled exception. System.TypeInitializationException: The type initializer for 'ConsoleInteractive.InternalContext' threw an exception.
---> System.IO.IOException: The handle is invalid.
at System.ConsolePal.GetBufferInfo(Boolean throwOnNoConsole, Boolean& succeeded)
at System.Console.get_BufferWidth()
at ConsoleInteractive.InternalContext..cctor() in C:\mcc-repos\Minecraft-Console-Client\ConsoleInteractive\ConsoleInteractive\ConsoleInteractive\InternalContext.cs:line 14
--- End of inner exception stack trace ---
at ConsoleInteractive.ConsoleBuffer.DrawPrefix() in C:\mcc-repos\Minecraft-Console-Client\ConsoleInteractive\ConsoleInteractive\ConsoleInteractive\ConsoleBuffer.cs:line 200
at ConsoleInteractive.ConsoleReader.KeyListener(Object cancellationToken) in C:\mcc-repos\Minecraft-Console-Client\ConsoleInteractive\ConsoleInteractive\ConsoleInteractive\ConsoleReader.cs:line 86
at System.Threading.Thread.StartCallback()
The prefix is then not drawn at this point.
Metadata
Metadata
Assignees
Labels
No labels