An interface for abstracting input and output for various terminal implementations.
The height of the terminal.
The width of the terminal.
Clear the current terminal, removing all text written there so far.
Shut down this terminal, releasing any resources.
Return a hot SharedFlow which will get triggered with characters read in by the underlying terminal, often input typed in by a user.
Write some text to the underlying terminal.