()
| 151 | } |
| 152 | |
| 153 | down() { |
| 154 | if (this.cursor === this.choices.length - 1) { |
| 155 | this.moveCursor(0); |
| 156 | } else { |
| 157 | this.moveCursor(this.cursor + 1); |
| 158 | } |
| 159 | this.render(); |
| 160 | } |
| 161 | |
| 162 | highlight(label: string) { |
| 163 | if (!this.search) return label; |
no test coverage detected