The rl.clearLine() method adds to the internal list of pending action an action that clears current line of the associated stream in a specified direction identified by dir. Call rl.commit() to see the effect of this method, unless autoCommit: true was passed to the constructor.
Search the reference...
/
class
this
The rl.clearScreenDown() method adds to the internal list of pending action an action that clears the associated stream from the current position of the cursor down. Call rl.commit() to see the effect of this method, unless autoCommit: true was passed to the constructor.
this
The rl.commit() method sends all the pending actions to the associated stream and clears the internal list of pending actions.
The rl.cursorTo() method adds to the internal list of pending action an action that moves cursor to the specified position in the associated stream. Call rl.commit() to see the effect of this method, unless autoCommit: true was passed to the constructor.
this
The rl.moveCursor() method adds to the internal list of pending action an action that moves the cursor relative to its current position in the associated stream. Call rl.commit() to see the effect of this method, unless autoCommit: true was passed to the constructor.
this
The rl.rollback methods clears the internal list of pending actions without sending it to the associated stream.
this
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.promises.Readline class | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Node readline.promises.Readline class | API Reference | Bun - 提供全网公开链接智能索引服务,快速访问目标内容,支持分类筛选和智能导航