/// <summary>
/// Connect this TelnetSingletonServer to a CPU to start acting as its terminal.
/// </summary>
/// <param name="processor">The kOSProcessor PartModule to attach to</param>
public void ConnectToProcessor(kOSProcessor processor)
{
ConnectedProcessor = processor;
ConnectedProcessor.GetScreen().SetSize(ClientHeight, ClientWidth); // Reset the GUI terminal to match the telnet window.
ConnectedProcessor.GetWindow().AttachTelnet(this); // Tell the GUI window that I am one of its telnets now (even when closed, it still does the heavy lifting).
ConnectedProcessor.GetWindow().SendTitleToTelnet(this);
ConnectedProcessor.GetWindow().RepaintTelnet(this, true); // Need to start with a full paint of the terminal.
}