Abstract library implementation of a VT220/xterm/ECMA-48 terminal emulator.