press-any-key
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -9,3 +9,3 @@ const sll = require("log-update"); | ||
: options.ctrlC; | ||
const preverseLog = options.preverseLog || false; | ||
const preserveLog = options.preserveLog || false; | ||
const hideMessage = options.hideMessage || false; | ||
@@ -23,3 +23,3 @@ | ||
if (mssg && !preverseLog) { | ||
if (mssg && !preserveLog) { | ||
sll.clear(); | ||
@@ -26,0 +26,0 @@ } else { |
{ | ||
"name": "press-any-key", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Press any key to continue...", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -92,3 +92,3 @@ press-any-key | ||
- **`ctrlC`** The exit code, or `"reject"` (do reject the promise), or false to perceive as pressing any key. | ||
- **`preverseLog`** Preserve the message in the log | ||
- **`preserveLog`** Preserve the message in the log | ||
- **`hideMessage`** Do not show the message | ||
@@ -95,0 +95,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package