terminal (tty) library for Go