the terminal to attach listeners to
Update input and move history to the previous command.
the event that triggered the action
Update input and move history to the next command.
the event that triggered the action
Attempt to autocomplete the current input in the terminal.
the event that triggered the action
Execute with the current terminal input.
the event that triggered the action
Attaches listeners to the terminal's input element.
OptionalpreviousKey: string = "ArrowUp"the key used to select the previous command; defaults to ArrowUp
OptionalnextKey: string = "ArrowDown"the key used to select the next command; defaults to ArrowDown
Handles keyboard and selection events for the terminal.