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

property ReadLineOptions.history

Initial list of history lines. 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 #

string[] | undefined