Returns the manager used to keep track of this terminal's history.
Reads the next line from the terminal.
Reads the next line from the terminal.
Some line if found, otherwise None if EOF
Writes the provided text to the terminal.
Writes the provided text to the terminal.
The text to write out to the terminal
Returns the function used to generate prompts.
Returns the function used to generate prompts.
The prompt function
Retrieves the prompt by invoking the prompt function.
Retrieves the prompt by invoking the prompt function.
The new string prompt
Sets a static prompt for the terminal.
Sets a static prompt for the terminal.
The static prompt string
Sets a dynamic prompt using a prompt function.
Sets a dynamic prompt using a prompt function.
The new prompt function
Writes the provided text to the terminal and ends with a newline character.
Writes the provided text to the terminal and ends with a newline character.
The text to write out to the terminal
Represents the interface for a terminal that can read and write.