Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

property ReadLineOptions.historySize

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.

Type #

number | undefined