Remove second open arg (#2544)

This was removed in xterm@3, see xtermjs/xterm.js#646
This commit is contained in:
Daniel Imms 2017-12-11 14:17:01 -08:00 committed by Philippe Potvin
parent 15a7e6ad9b
commit 421847315d

View file

@ -46,9 +46,7 @@ export default class Term extends PureComponent {
cursorBlink: props.cursorBlink
});
this.term.attachCustomKeyEventHandler(this.keyboardHandler);
this.term.open(this.termRef, {
focus: false
});
this.term.open(this.termRef);
this.onOpen();
}