Use new xterm.js API setOption

Follow up from #11049
This commit is contained in:
Daniel Imms 2016-09-16 02:27:57 -07:00
parent 4d26f0030e
commit bf316a509a

View file

@ -299,8 +299,7 @@ export class TerminalInstance implements ITerminalInstance {
public setCursorBlink(blink: boolean): void {
if (this._xterm && this._xterm.cursorBlink !== blink) {
this._xterm.options.cursorBlink = blink;
this._xterm.cursorBlink = blink;
this._xterm.setOption('cursorBlink', blink);
this._xterm.refresh(0, this._xterm.rows - 1);
}
}