From 1fc2dfb3a5e7a5daeccaccce3ea096cd9448f869 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Sat, 18 Feb 2017 16:52:07 +0800 Subject: [PATCH] Upgrade to xterm.js 2.3.2 --- html/package.json | 2 +- html/yarn.lock | 6 +++--- src/index.html | 2 +- src/protocol.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/html/package.json b/html/package.json index c91d866..dedf1d2 100644 --- a/html/package.json +++ b/html/package.json @@ -15,6 +15,6 @@ "dependencies": { "gulp": "^3.9.1", "gulp-inline-source": "^3.0.0", - "xterm": "^2.3.1" + "xterm": "^2.3.2" } } diff --git a/html/yarn.lock b/html/yarn.lock index d6d5455..653a13d 100644 --- a/html/yarn.lock +++ b/html/yarn.lock @@ -1413,9 +1413,9 @@ wrappy@1: version "4.0.1" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" -xterm@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/xterm/-/xterm-2.3.1.tgz#78acbcb1f88dac85916c7abb94424c827238849f" +xterm@^2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/xterm/-/xterm-2.3.2.tgz#86e84f6dab9decab48297e1ef096006fbe628746" yargs@~3.10.0: version "3.10.0" diff --git a/src/index.html b/src/index.html index a7ebd85..fcd1625 100644 --- a/src/index.html +++ b/src/index.html @@ -8,7 +8,7 @@ diff --git a/src/protocol.c b/src/protocol.c index 658542e..00cea9a 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -86,7 +86,7 @@ tty_client_destroy(struct tty_client *client) { // kill process and free resource lwsl_notice("sending %s (%d) to process %d\n", server->sig_name, server->sig_code, client->pid); if (kill(client->pid, server->sig_code) != 0) { - lwsl_err("kill: pid, errno: %d (%s)\n", client->pid, errno, strerror(errno)); + lwsl_err("kill: %d, errno: %d (%s)\n", client->pid, errno, strerror(errno)); } int status; while (waitpid(client->pid, &status, 0) == -1 && errno == EINTR) -- 2.43.4