prompts-ncu
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -116,6 +116,9 @@ 'use strict'; | ||
this.cursor--; | ||
if (this.value[this.cursor].heading) { | ||
this.up(); | ||
} | ||
} | ||
// skip headings | ||
if (this.value[this.cursor].heading) { | ||
this.up(); | ||
} | ||
this.render(); | ||
@@ -129,6 +132,9 @@ } | ||
this.cursor++; | ||
if (this.value[this.cursor].heading) { | ||
this.down(); | ||
} | ||
} | ||
// skip headings | ||
if (this.value[this.cursor].heading) { | ||
this.down(); | ||
} | ||
this.render(); | ||
@@ -135,0 +141,0 @@ } |
{ | ||
"name": "prompts-ncu", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Lightweight, beautiful and user-friendly prompts", | ||
@@ -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
104691
2297