Skip to content

Commit

Permalink
Revert "Fix initial cursor blinking (vercel#2614)" (vercel#2617)
Browse files Browse the repository at this point in the history
* Revert "Fix initial cursor blinking (vercel#2614)"

This reverts commit 88c7b53.

* Use 3.0.2 xterm fork
  • Loading branch information
chabou authored and albinekb committed Jan 17, 2018
1 parent 88c7b53 commit f547f02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions lib/components/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f547f02

Please sign in to comment.