温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/readline/promises/Interface/prompt
点击访问原文链接

Interface.prompt method | Node.js readline/promises module | Bun

Interface.prompt method | Node.js readline/promises module | BunBuildDocsReferenceGuidesBlogDiscord/node:readline/promises/Interface/promptMprompt

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:readline/promises/Interface/promptMprompt

method

readline.promises.Interface.promptprompt(preserveCursor?: boolean): void;

The rl.prompt() method writes the Interface instances configuredprompt to a new line in output in order to provide a user with a new location at which to provide input.

When called, rl.prompt() will resume the input stream if it has been paused.

If the Interface was created with output set to null or undefined the prompt is not written.

@param preserveCursor

If true, prevents the cursor placement from being reset to 0.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Interface.prompt method | Node.js readline/promises module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for method node:readline/promises.Interface.prompt | Bun