提交 42007f4f 编写于 作者: E Eugene Pankov

upgraded node-pty (fixes #84)

上级 92c0df76
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册