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.
Handles keyboard and selection events for the terminal.