Currently requires a UNIX-style terminal emulator (i.e. a terminal that is able to interpret ANSI escape sequences).
- A representation of the current console window. [...]
- A screen position, measured in rows and columns from the top-left origin of the screen. Coordinates are zero-based, and converted as necessary for the underlying system representation (e.g. one-based for VT-style displays).
- A representation of a keystroke.
- The ScrollbackBuffer class is a utility for handling multi-line user input in readline(). It doesn't support history editing a la bash, but it should handle the most common use cases.