-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
I've updated from xterm.js 5.3.0 to 5.4.0 and noticed that the cursor is no longer blinking when it is focused and in block mode.
With these options set:
"cursorBlink": true,
"cursorStyle": "block",
"cursorInactiveStyle": "outline"
The cursor goes from outline to block style when the terminal is focused, but the block cursor does not blink as expected. It is supposed to blink, and does blink under xterm.js 5.3.0.
With cursorStyle set to "underline" and cursorBlink to true, the cursor does blink as expected. If I change cursorBlink to false, then the underline cursor does not blink as expected. (showing that the cursorBlink attribute is being honored for the underline cursor)
It only appears that the cursor is fails to blink when cursorBlink is true and cursorStyle is block.
Details
- Browser and browser version: Version 121.0.6167.139 (Official Build) (64-bit)
- OS version: Linux
- xterm.js version: 5.4.0
Steps to reproduce
- Set cursorStyle to block
- Set cursorBlink to true
- set cursorInactiveStyle to outline
- focus the terminal to activate the cursor
- If cursor goes active and turns into a block, but does not blink, problem is reproduced.