mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 21:40:03 +00:00
.
This commit is contained in:
parent
9312db1fc6
commit
a26b38f5ae
@ -340,6 +340,9 @@ export class TerminalTabComponent extends BaseTabComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async canClose (): Promise<boolean> {
|
async canClose (): Promise<boolean> {
|
||||||
|
if (this.hostApp.platform === Platform.Windows) {
|
||||||
|
return true
|
||||||
|
}
|
||||||
let children = await this.session.getChildProcesses()
|
let children = await this.session.getChildProcesses()
|
||||||
if (children.length === 0) {
|
if (children.length === 0) {
|
||||||
return true
|
return true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user