scaleIndicator(choice, item, i) { let enabled = choice.scaleIndex === item.index; if (enabled) return this.styles.success(this.symbols.check); if (this.index === i) return this.styles.muted(this.symbols.check); return this.styles.dark(this.symbols.check); }
footer() { let { pointerSmall, check } = this.symbols; let min = this.options.minLength; return min - this.input.length > 0 ? delayMessage(this.styles.danger(`${pointerSmall} password must be ${min} characters or longer`), this) : delayMessage(this.styles.success(`${check} password length is okay`), this); }