private void HostCauseClose(string msg) { if (TerminalSessionsPlugin.Instance.TerminalEmulatorService.TerminalEmulatorOptions.CloseOnDisconnect) _sessionHost.TerminateSession(); else { IPoderosaMainWindow window = this.OwnerWindow; window.DocumentTabFeature.Update(_terminal.IDocument); } }
private void HostCauseClose(string msg) { Console.WriteLine("TerminalSession: HostCauseClose - " + msg); //if(TerminalSessionsPlugin.Instance.TerminalEmulatorService.TerminalEmulatorOptions.CloseOnDisconnect) _sessionHost.TerminateSession(); if (_parent != null) { _parent.IsRunning = false; } }