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