@trap_stevo/filetide 0.0.50 → 0.0.51
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.
|
@@ -295,7 +295,7 @@ class ConsoleProgressBarManager {
|
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
listenForInput(customPagePrefix = "Page", bottomMessage, bottomMessageColor = chalk.gray, recentlyCompletedColor = chalk.green) {
|
|
298
|
-
if (!isNaN(this.barsPerPage)) {
|
|
298
|
+
if (!isNaN(this.barsPerPage) && process.stdout.isTTY) {
|
|
299
299
|
process.stdin.setRawMode(true);
|
|
300
300
|
process.stdin.resume();
|
|
301
301
|
}
|
|
@@ -317,8 +317,10 @@ class ConsoleProgressBarManager {
|
|
|
317
317
|
}
|
|
318
318
|
exitInputListener() {
|
|
319
319
|
process.stdin.removeListener("data", this.inputListener);
|
|
320
|
-
process.
|
|
321
|
-
|
|
320
|
+
if (process.stdout.isTTY) {
|
|
321
|
+
process.stdin.setRawMode(false);
|
|
322
|
+
process.stdin.resume();
|
|
323
|
+
}
|
|
322
324
|
}
|
|
323
325
|
displayCompletionMessage() {
|
|
324
326
|
const lastLine = Math.min(this.taskBars.length, this.barsPerPage);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trap_stevo/filetide",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.51",
|
|
4
4
|
"description": "Revolutionizing real-time file transfer with seamless, instant communication across any device. Deliver files instantly, regardless of platform, and experience unparalleled speed and control in managing transfers. Elevate your file-sharing capabilities with a tool designed for precision, efficiency, and effortless connectivity.",
|
|
5
5
|
"main": "dist/cjs/FileTide.js",
|
|
6
6
|
"scripts": {
|