@inquirer/core
Advanced tools
Comparing version 0.0.7-alpha.0 to 0.0.8-alpha.0
@@ -9,2 +9,6 @@ exports.isUpKey = key => | ||
exports.isBackspaceKey = key => key.name === 'backspace'; | ||
exports.isNumberKey = key => '123456789'.includes(key.name); | ||
exports.isEnterKey = key => key.name === 'enter' || key.name === 'return'; |
@@ -24,3 +24,5 @@ 'use strict'; | ||
const width = cliWidth({ defaultWidth: 80, output: this.rl.output }); | ||
// TODO: I've remove the dependency on readline here. But we should refactor the | ||
// paginator to also rely on hook. | ||
const width = cliWidth({ defaultWidth: 80, output: process.stdout }); | ||
let lines = breakLines(output, width).split('\n'); | ||
@@ -27,0 +29,0 @@ |
{ | ||
"name": "@inquirer/core", | ||
"version": "0.0.7-alpha.0", | ||
"version": "0.0.8-alpha.0", | ||
"description": "Core Inquirer prompt API", | ||
@@ -29,3 +29,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "54285c75bc7986e0e2c7bcd2bc8ae4ddd6f05929" | ||
"gitHead": "7ec6ea0d2e55895fada6782fcc76de232c1e4c12" | ||
} |
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
26617
12
748