From f547f0299d17852b422917ea66e9eb56802681ba Mon Sep 17 00:00:00 2001 From: CHaBou Date: Wed, 17 Jan 2018 13:47:35 +0100 Subject: [PATCH] Revert "Fix initial cursor blinking (#2614)" (#2617) * Revert "Fix initial cursor blinking (#2614)" This reverts commit 88c7b536a4ce71ea3213b58e38203fa980c0d2ee. * Use 3.0.2 xterm fork --- lib/components/term.js | 2 -- package.json | 2 +- yarn.lock | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/components/term.js b/lib/components/term.js index 866d01616745..a349efc4f673 100644 --- a/lib/components/term.js +++ b/lib/components/term.js @@ -75,8 +75,6 @@ export default class Term extends PureComponent { this.term = props.term || new Terminal(this.termOptions); this.term.attachCustomKeyEventHandler(this.keyboardHandler); this.term.open(this.termRef); - //This is a workaround for https://github.com/xtermjs/xterm.js/issues/1194 - this.term.setOption('cursorBlink', this.termOptions.cursorBlink); if (props.term) { //We need to set options again after reattaching an existing term Object.keys(this.termOptions).forEach(option => this.term.setOption(option, this.termOptions[option])); diff --git a/package.json b/package.json index 3f768ef7974e..a3ad9d11e380 100644 --- a/package.json +++ b/package.json @@ -189,7 +189,7 @@ "semver": "5.4.1", "shebang-loader": "false0.0.1", "uuid": "3.1.0", - "xterm": "chabou/xterm.js#hyper" + "xterm": "chabou/xterm.js#a7b9059" }, "devDependencies": { "ava": "0.24.0", diff --git a/yarn.lock b/yarn.lock index 454297eb7933..9a43574a1d71 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6449,9 +6449,9 @@ xtend@~2.1.1: dependencies: object-keys "~0.4.0" -xterm@chabou/xterm.js#hyper: +xterm@chabou/xterm.js#a7b9059: version "3.0.0" - resolved "https://codeload.github.com/chabou/xterm.js/tar.gz/87b1d5276bb72298210021217165ab847a0886ec" + resolved "https://codeload.github.com/chabou/xterm.js/tar.gz/a7b9059050f8f77ca0d9469b77086617ad67e2fa" y18n@^3.2.1: version "3.2.1"