Show text when cursor blinks in DOM renderer

Fixes #2224
This commit is contained in:
Daniel Imms
2019-06-14 12:39:01 -07:00
parent 26f967ec3f
commit 1a44e3634a
+8 -3
View File
@@ -167,9 +167,14 @@ export class DomRenderer extends Disposable implements IRenderer {
// Blink animation
styles +=
`@keyframes blink {` +
` 0% { opacity: 1.0; }` +
` 50% { opacity: 0.0; }` +
` 100% { opacity: 1.0; }` +
` 0% {` +
` background-color: ${this._colors.cursor.css};` +
` color: ${this._colors.cursorAccent.css};` +
` }` +
` 50% {` +
` background-color: ${this._colors.cursorAccent.css};` +
` color: ${this._colors.cursor.css};` +
` }` +
`}`;
// Cursor
styles +=