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.
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.
Adds a new line of input to be fed into the terminal.
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.
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.
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 the maximum time allowed for new input has been exceeded
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
When the output queue's capacity has been reached
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 terminal that reads from input provided on a queue and outputs results to a different queue.