Skip to content

Commit

Permalink
Merge pull request #754 from LucianBuzzo/753-ie11-terminal-cursor
Browse files Browse the repository at this point in the history
Add one class at a time to element for IE11 compatibility
  • Loading branch information
parisk authored Jul 3, 2017
2 parents 31aab8e + 7e210c7 commit 934ca65
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ export class Renderer {
}
currentElement = this._spanElementObjectPool.acquire();
if (data === -1) {
currentElement.classList.add('reverse-video', 'terminal-cursor');
currentElement.classList.add('reverse-video');
currentElement.classList.add('terminal-cursor');
} else {
let bg = data & 0x1ff;
let fg = (data >> 9) & 0x1ff;
Expand Down

0 comments on commit 934ca65

Please sign in to comment.