Don't use open event on xterm (#2542)

This commit is contained in:
Daniel Imms 2017-12-11 13:33:03 -08:00 committed by Albin Ekblom
parent 9521fb57c1
commit 15a7e6ad9b

View file

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