We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5770b1a commit eab1486Copy full SHA for eab1486
1 file changed
src/ssh/assets/xterm-webssh.js
@@ -309,7 +309,7 @@ const TerminalHelper = {
309
if (TerminalHelper.cursorBlinkInterval) {
310
clearInterval(TerminalHelper.cursorBlinkInterval);
311
}
312
- TerminalHelper.cursorBlinkInterval = setInterval(function () {
+ const applyBlink = function () {
313
terminal._core.optionsService.options.cursorBlink = enable;
314
315
// #974 : Upgrade xterm.js to 5.3.0 ->
@@ -328,7 +328,9 @@ const TerminalHelper = {
328
if (terminal.textarea) {
329
TerminalHelper.focus(enable);
330
331
- }, 1500);
+ };
332
+ applyBlink();
333
+ TerminalHelper.cursorBlinkInterval = setInterval(applyBlink, 1500);
334
},
335
336
scrollToBottom: function () {
0 commit comments