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

Node readline.clearLine function | API Reference | Bun

Node readline.clearLine function | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/node:readline/clearLineFclearLine

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/node:readline/clearLineFclearLine

function

readline.clearLinefunction clearLine(stream: WritableStream,dir: Direction,callback?: () => void): boolean;

The readline.clearLine() method clears current line of given TTY stream in a specified direction identified by dir.

@param callback

Invoked once the operation completes.

@returns

false if stream wishes for the calling code to wait for the 'drain' event to be emitted before continuing to write additional data; otherwise true.

Referenced typestype Direction = -1 | 0 | 1

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 →

Node readline.clearLine function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for function node:readline.clearLine | Bun