mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
Ensure terminal cursorBlink is restored after app mode change
Fixes #11049 See also sourcelair/xterm.js#271
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user