github.com/rwxrob/term (go): Package term provides traditional terminal escapes and interactions including an Prompter/Responder specification for Expect-like, line-based APIs, communications, and user interfaces.
Keywords: ansi|color|esc|escape|golang|size|terminal