From 56dcdbc75cc627f127a49e311d29d57e199f22bd Mon Sep 17 00:00:00 2001 From: Dason Woodhouse Date: Mon, 25 Dec 2017 19:17:39 -0700 Subject: [PATCH] Update pty.js to node-pty. pty.js is not being updated, while node-pty still is. Additionally, pty.js does not run on windows, while node-pty has windows support. --- lib/widgets/terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widgets/terminal.js b/lib/widgets/terminal.js index 3ed1bbec..f17406e3 100644 --- a/lib/widgets/terminal.js +++ b/lib/widgets/terminal.js @@ -215,7 +215,7 @@ Terminal.prototype.bootstrap = function() { return; } - this.pty = require('pty.js').fork(this.shell, this.args, { + this.pty = require('node-pty').fork(this.shell, this.args, { name: this.termName, cols: this.width - this.iwidth, rows: this.height - this.iheight,