The queue used for new input to the terminal
The queue used for new output from the terminal
The maximum time to wait for retrieving input as well as wait to add new input (in milliseconds); if negative, will wait indefinitely
Returns the function used to generate prompts.
The prompt function
Returns the manager used to keep track of this terminal's history.
Adds a new line of input to be fed into the terminal.
The new line of text
When maximum output queue capacity has been reached and is full for longer than the maximum wait time
Retrieves the next line of output from the terminal.
The maximum time to wait for new output in milliseconds, or -1 if waiting indefinitely
Some new line of output from the terminal if output exists, otherwise None
Retrieves the prompt by invoking the prompt function.
The new string prompt
Reads the next line from the terminal.
Sets a static prompt for the terminal.
The static prompt string
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 and ends with a newline character.
The text to write out to the terminal