The rl.getPrompt() method returns the current prompt used by rl.prompt().
Interface.getPrompt method | Node.js readline module | Bun BuildDocsReferenceGuidesBlogDiscord/node:readline/Interface/getPromptMgetPrompt BuildDocsReferenceGuidesBlogDiscord /node:readline/Interface/getPromptMgetPrompt readline.Interface.getPromptgetPrompt(): string; @returns
Search the reference...
/
method
the current prompt string
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Interface.getPrompt method | Node.js readline module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:readline.Interface.getPrompt | Bun