Skip to content

Commit

Permalink
respect current code style
Browse files Browse the repository at this point in the history
  • Loading branch information
mofux committed Jul 11, 2017
1 parent 5ff50d3 commit 0d570cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export class Renderer {
if (data === -1) {
currentElement.classList.add('reverse-video');
currentElement.classList.add('terminal-cursor');
if (cursorFg < 256) currentElement.classList.add(`xterm-color-${cursorFg}`);
if (cursorFg < 256) {
currentElement.classList.add(`xterm-color-${cursorFg}`);
}
} else {
let bg = data & 0x1ff;
let fg = (data >> 9) & 0x1ff;
Expand Down

0 comments on commit 0d570cd

Please sign in to comment.