~rbdr/tomato-sauce

226ad561a01402590ebf3fa61912fd5d8f93f632 — Ruben Beltran del Rio 8 months ago 5838e91
Use let instead of const for circle
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/screens/circle.js
M lib/screens/circle.js => lib/screens/circle.js +1 -1
@@ 26,7 26,7 @@ module.exports = function (modulation, width, height, renderer) {
      const y = Math.round(centerY + Math.cos(angle) * i);

      if (x <= width && x > 0 && y <= height && y > 0) {
        const position = `\x1B[${y};${x}H`; // Move cursor to y,x (CSI y;x H)
        let position = `\x1B[${y};${x}H`; // Move cursor to y,x (CSI y;x H)
        response += `${position}${renderer(red, blue, green)} `;
      }
    }