The readline.clearLine() method clears current line of given TTY stream in a specified direction identified by dir.
Node readline.clearLine function | API Reference | Bun BuildDocsReferenceGuidesBlogDiscord/node:readline/clearLineFclearLine BuildDocsReferenceGuidesBlogDiscord /node:readline/clearLineFclearLine readline.clearLinefunction clearLine(stream: WritableStream,dir: Direction,callback?: () => void): boolean; @param callback @returns Referenced typestype Direction = -1 | 0 | 1
Search the reference...
/
function
Invoked once the operation completes.
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.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Node readline.clearLine function | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for function node:readline.clearLine | Bun