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.
- package/package.json +1 -1
- package/src/app.js +4 -6
package/package.json
CHANGED
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
|
-
|
|
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) {
|