Ttyutils is a simple Go package with a few functions for raw TTY IO.
go get github.com/burke/ttyutils