Blockingly reads a line from the given input stream and returns it.
Blockingly reads a line from the given input stream and returns it.
The prompt to display when requesting input
The input-stream where characters come in, e.g. System.in
The output-stream where print-outs go, e.g. System.out
A set of actions that can be taken depending on the input, to manipulate the internal state of the terminal.
code to manipulate the display of the buffer and cursor, without actually changing the logical values inside them.
The core logic around a terminal; it defines the base
filters
API through which anything (including basic cursor-navigation and typing) interacts with the terminal.Maintains basic invariants, such as "cursor should always be within the buffer", and "ansi terminal should reflect most up to date TermState"