mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-21 02:48:00 +00:00
upgraded node-pty (fixes #84)
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
"font-manager": "0.2.2",
|
"font-manager": "0.2.2",
|
||||||
"hterm-umdjs": "1.2.0",
|
"hterm-umdjs": "1.2.0",
|
||||||
"mz": "^2.6.0",
|
"mz": "^2.6.0",
|
||||||
"node-pty": "0.6.2",
|
"node-pty": "0.6.8",
|
||||||
"winreg": "^1.2.3"
|
"winreg": "^1.2.3"
|
||||||
},
|
},
|
||||||
"false": {}
|
"false": {}
|
||||||
|
@@ -66,6 +66,12 @@ export class Session {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
this.pty.on('exit', () => {
|
||||||
|
if (this.open) {
|
||||||
|
this.destroy()
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
this.pty.on('close', () => {
|
this.pty.on('close', () => {
|
||||||
if (this.open) {
|
if (this.open) {
|
||||||
this.destroy()
|
this.destroy()
|
||||||
|
Reference in New Issue
Block a user