Fix issue with cursor timer

cpsdqs/unified-input
cpsdqs hace 8 años
padre 0c23da7bf8
commit c82a955dfc
Firmado por usuario no fiable: cpsdqs
ID de clave GPG: 3F59586BB7448DD1
  1. 5
      jssrc/term_screen.js

@ -725,7 +725,8 @@ window.TermScreen = class TermScreen {
let y = Math.floor(cell / width)
let isCursor = !this.cursor.hanging &&
this.cursor.x === x &&
this.cursor.y === y
this.cursor.y === y &&
this.cursor.blinkOn
let wasCursor = x === this.drawnCursor[0] && y === this.drawnCursor[1]
@ -860,7 +861,7 @@ window.TermScreen = class TermScreen {
}
}
if (isCursor && this.cursor.blinkOn && !inSelection) {
if (isCursor && !inSelection) {
ctx.save()
ctx.beginPath()
if (this.cursor.style === 'block') {

Cargando…
Cancelar
Guardar