MCPcopy Index your code
hub / github.com/nodejs/node / getPrompt

Method getPrompt

lib/internal/readline/interface.js:380–382  ·  view source on GitHub ↗

* Returns the current prompt used by `rl.prompt()`. * @returns {string}

()

Source from the content-addressed store, hash-verified

378 * @returns {string}
379 */
380 getPrompt() {
381 return this[kPrompt];
382 }
383
384 setupHistoryManager(options) {
385 this.historyManager = new ReplHistory(this, options);

Callers 8

getPreviewPosFunction · 0.80
clearPreviewFunction · 0.80
showCompletionPreviewFunction · 0.80
printFunction · 0.80
reverseSearchFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected