input-terminal
    Preparing search index...

    Class TermOptions

    Manages the terminal's configuration.

    Index

    Constructors

    Properties

    previousKey: string = "ArrowUp"

    The key used to select the previous command.

    nextKey: string = "ArrowDown"

    The key used to select the next command.

    returnKey: string = "Enter"

    The key used to enter a command.

    autocompleteKey: string = "Tab"

    The key used to autocomplete a command.

    installBuiltins: boolean = true

    Whether the terminal should install built-in commands.

    prompt: string = "> "

    A line of text that is displayed at the beginning of the command line.

    preprompt: string = ""

    A line of text that is displayed before the prompt.

    addEmptyCommandToHistory: boolean = false

    Whether the terminal should add a command with empty input to history.

    showDuplicateCommands: boolean = false

    Whether the terminal should add a command with duplicate input (same as the last command's input) to history.