* Sets the prompt written to the output. * @param {string} prompt * @returns {void}
(prompt)
| 370 | * @returns {void} |
| 371 | */ |
| 372 | setPrompt(prompt) { |
| 373 | this[kPrompt] = prompt; |
| 374 | } |
| 375 | |
| 376 | /** |
| 377 | * Returns the current prompt used by `rl.prompt()`. |
no outgoing calls
no test coverage detected