Optionaloptions: objectan optional configuration to initialize the terminal with
The key used to select the previous command.
The key used to select the next command.
The key used to enter a command.
The key used to autocomplete a command.
Whether the terminal should install built-in commands.
A line of text that is displayed at the beginning of the command line.
A line of text that is displayed before the prompt.
Whether the terminal should add a command with empty input to history.
Whether the terminal should add a command with duplicate input (same as the last command's input) to history.
Manages the terminal's configuration.