Maximum number of history lines retained. To disable the history set this value to 0. This option makes sense only if terminal is set to true by the user or by an internal output check, otherwise the history caching mechanism is not initialized at all.
property historySize | Node.js readline/promises module | Bun BuildDocsReferenceGuidesBlogDiscord/node:readline/promises/ReadLineOptions/historySizePhistorySize BuildDocsReferenceGuidesBlogDiscord /node:readline/promises/ReadLineOptions/historySizePhistorySize readline.promises.ReadLineOptions.historySizehistorySize?: number
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property historySize | Node.js readline/promises module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- Maximum number of history lines retained.
To disable the history set this value to `0`.
This option makes sense only if `terminal` is set to `true` by the user or by an internal `output` check,
otherwise the history caching mechanism is not initialized at all.