The rl.setPrompt() method sets the prompt that will be written to output whenever rl.prompt() is called.
Interface.setPrompt method | Node.js readline/promises module | Bun BuildDocsReferenceGuidesBlogDiscord/node:readline/promises/Interface/setPromptMsetPrompt BuildDocsReferenceGuidesBlogDiscord /node:readline/promises/Interface/setPromptMsetPrompt readline.promises.Interface.setPromptsetPrompt(prompt: string): void;
Search the reference...
/
method
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Interface.setPrompt method | Node.js readline/promises module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:readline/promises.Interface.setPrompt | Bun