提交 8110fef3 编写于 作者: E Eugene Pankov

reversed cursor blink cycle (fixes #422)

上级 a0e3b0b0
......@@ -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_()
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册