Comparing version 4.0.1 to 4.0.2
@@ -224,5 +224,10 @@ 'use strict'; | ||
stdin.on('data', noop); | ||
stdin.resume(); | ||
const self = this; | ||
stdin.emit = function (event, data, ...args) { | ||
if (event === 'keypress') { // Fixes readline behavior | ||
return; | ||
} | ||
if (event === 'data' && data.includes(ASCII_ETX_CODE)) { | ||
@@ -229,0 +234,0 @@ process.emit('SIGINT'); |
{ | ||
"name": "ora", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "Elegant terminal spinner", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
20765
451