提交 cbf6e8a4 编写于 作者: D Daniel Imms

Ensure terminal cursorBlink is restored after app mode change

Fixes #11049
See also sourcelair/xterm.js#271
上级 3b896ae4
......@@ -299,6 +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.refresh(0, this._xterm.rows - 1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册