From a26b38f5aef9f11b6ca384be8e667b57d31f9a3f Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Mon, 24 Jul 2017 15:34:30 +0200 Subject: [PATCH] . --- terminus-terminal/src/components/terminalTab.component.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminus-terminal/src/components/terminalTab.component.ts b/terminus-terminal/src/components/terminalTab.component.ts index 355f8674..d6f1f35f 100644 --- a/terminus-terminal/src/components/terminalTab.component.ts +++ b/terminus-terminal/src/components/terminalTab.component.ts @@ -340,6 +340,9 @@ export class TerminalTabComponent extends BaseTabComponent { } async canClose (): Promise { + if (this.hostApp.platform === Platform.Windows) { + return true + } let children = await this.session.getChildProcesses() if (children.length === 0) { return true