unicode-animations 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unicode-animations",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Unicode spinner animations as raw frame data",
5
5
  "type": "module",
6
6
  "exports": {
@@ -116,7 +116,7 @@ try {
116
116
  line += B + padBraille(frame, colFPad[c]) + R + ' ' + D + pad(name, NPAD) + R;
117
117
  if (c < 2) line += ' ';
118
118
  }
119
- buf += CL + line + '\n';
119
+ buf += CL + '\r' + line + '\n';
120
120
  }
121
121
  return buf;
122
122
  }
@@ -160,7 +160,7 @@ try {
160
160
  cleanup();
161
161
  return;
162
162
  }
163
- out.write(`\x1B[${ROWS}A`);
163
+ out.write(`\x1B[${ROWS}A\r`);
164
164
  out.write(renderGrid(tick));
165
165
  tick++;
166
166
  }, INTERVAL);