()
| 434 | u3 === "" && (this.state = "cancel"), (this.state === "submit" || this.state === "cancel") && this.emit("finalize"), this.render(), (this.state === "submit" || this.state === "cancel") && this.close(); |
| 435 | } |
| 436 | close() { |
| 437 | this.input.unpipe(), this.input.removeListener("keypress", this.onKeypress), this.output.write(` |
| 438 | `), v3(this.input, false), this.rl.close(), this.emit(`${this.state}`, this.value), this.unsubscribe(); |
| 439 | } |
| 440 | restoreCursor() { |
| 441 | const u3 = R4(this._prevFrame, process.stdout.columns, { hard: true }).split(` |
| 442 | `).length - 1; |
no test coverage detected