hedgequantx 2.7.31 → 2.7.32

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.js +4 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.7.31",
3
+ "version": "2.7.32",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/app.js CHANGED
@@ -175,11 +175,12 @@ const run = async () => {
175
175
  const boxWidth = getLogoWidth();
176
176
  const innerWidth = boxWidth - 2;
177
177
 
178
- // Show loading inside the box
179
- console.log(chalk.cyan('╠' + '═'.repeat(innerWidth) + '╣'));
178
+ // Show loading inside the box (no extra borders)
180
179
  const loadingText = ' LOADING DASHBOARD...';
181
180
  const loadingPad = innerWidth - loadingText.length;
182
- process.stdout.write(chalk.cyan('') + chalk.yellow(loadingText) + ' '.repeat(loadingPad) + chalk.cyan(''));
181
+ console.log(chalk.cyan('' + ''.repeat(innerWidth) + ''));
182
+ console.log(chalk.cyan('║') + chalk.yellow(loadingText) + ' '.repeat(loadingPad) + chalk.cyan('║'));
183
+ console.log(chalk.cyan('╚' + '═'.repeat(innerWidth) + '╝'));
183
184
 
184
185
  const restored = await connections.restoreFromStorage();
185
186
 
@@ -187,9 +188,6 @@ const run = async () => {
187
188
  currentService = connections.getAll()[0].service;
188
189
  await refreshStats();
189
190
  }
190
-
191
- // Clear loading line
192
- process.stdout.write('\r' + ' '.repeat(boxWidth + 2) + '\r');
193
191
 
194
192
  // Main loop
195
193
  while (true) {