reversed cursor blink cycle (fixes #422)

This commit is contained in:
Eugene Pankov 2018-10-13 18:54:21 +02:00
parent a0e3b0b033
commit 8110fef3c0

View file

@ -235,5 +235,12 @@ export class HTermFrontend extends Frontend {
size.height += this.configuredLinePadding
return size
}
const onCursorBlink_ = this.term.onCursorBlink_.bind(this.term)
this.term.onCursorBlink_ = () => {
this.term.cursorNode_.style.opacity = '0'
onCursorBlink_()
}
}
}