Xterm.js: Cursor with blink turned on is lagging behind

Created on 18 Jan 2018  ·  4Comments  ·  Source: xtermjs/xterm.js

Details

  • Browser and browser version: Electron 1.7.10 (chrome)
  • OS version: macOS 10.13.2 (17C88)
  • xterm.js version: 3.0.2

Steps to reproduce

  1. Open a new terminal
  2. Press enter a couple times
  3. Press CMD+K (clear) when the cursor appears
  4. The cursor will not move into position until after it goes black and comes back again

Demo:

kapture 2018-01-18 at 13 19 35

I think that even tough blink is active, the cursor should still move like a non-blinking cursor. Maybe even reset the blink states to "SOLID" when the cursor moves?

typbug

Most helpful comment

All 4 comments

Yeah this is a problem with the cursor I just never got around to, there are times when it needs to hide/refresh but doesn't atm. It also happens on scroll.

Woah, that was quick @Tyriar, superb! I'll test it out.

Awesome 😍 🎉

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jestapinski picture jestapinski  ·  3Comments

LB-J picture LB-J  ·  3Comments

ghost picture ghost  ·  4Comments

Tyriar picture Tyriar  ·  4Comments

circuitry2 picture circuitry2  ·  4Comments