@rizzlesauce/inquirer-autocomplete-prompt
Advanced tools
Comparing version 1.0.2-rossa.2 to 1.0.2-rossa.3
@@ -7,3 +7,2 @@ // @flow | ||
var ansiEscapes = require('ansi-escapes'); | ||
var chalk = require('chalk'); | ||
@@ -237,7 +236,9 @@ var figures = require('figures'); | ||
if (this.currentChoices.getChoice(this.selected)) { | ||
this.rl.write(ansiEscapes.cursorLeft); | ||
this.rl.clearLine(); | ||
var autoCompleted = this.currentChoices.getChoice(this.selected).value; | ||
this.rl.write(ansiEscapes.cursorForward(autoCompleted.length)); | ||
this.rl.line = autoCompleted; | ||
this.rl.write(autoCompleted); | ||
this.render(); | ||
if (this.opt.searchOnAutocomplete) { | ||
this.search(autoCompleted); | ||
} | ||
} | ||
@@ -244,0 +245,0 @@ } else if (keyName === 'down') { |
{ | ||
"name": "@rizzlesauce/inquirer-autocomplete-prompt", | ||
"description": "Autocomplete prompt for inquirer", | ||
"version": "1.0.2-rossa.2", | ||
"version": "1.0.2-rossa.3", | ||
"files": [ | ||
@@ -36,3 +36,2 @@ "index.js" | ||
"dependencies": { | ||
"ansi-escapes": "^3.0.0", | ||
"chalk": "^2.0.0", | ||
@@ -39,0 +38,0 @@ "figures": "^2.0.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
4
250
13083
- Removedansi-escapes@^3.0.0