Revert "Fix initial cursor blinking (#2614)" (#2617)

* Revert "Fix initial cursor blinking (#2614)"

This reverts commit 88c7b536a4.

* Use 3.0.2 xterm fork
This commit is contained in:
CHaBou 2018-01-17 13:47:35 +01:00 committed by Albin Ekblom
parent 88c7b536a4
commit f547f0299d
3 changed files with 3 additions and 5 deletions

View file

@ -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]));

View file

@ -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",

View file

@ -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"