Package liner implements a simple command line editor, inspired by linenoise, supporting WIN32 and xterm codes.