Returns the function used to generate prompts.
Returns the function used to generate prompts.
The prompt function
Returns the manager used to keep track of this terminal's history.
Returns the manager used to keep track of this terminal's history.
Retrieves the prompt by invoking the prompt function.
Retrieves the prompt by invoking the prompt function.
The new string prompt
Reads the next line from the terminal.
Reads the next line from the terminal.
Some line if found, otherwise None if EOF reached
Sets a static prompt for the terminal.
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.
Writes the provided text to the terminal.
The text to write out to the terminal
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 a fallback terminal that does not have color or multi-line support.