From 5639660b92a7da00e763d30a729a916abec1c65b Mon Sep 17 00:00:00 2001 From: Martin Angers Date: Mon, 30 Mar 2020 21:22:04 -0400 Subject: [PATCH] format doc --- doc.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc.go b/doc.go index a81b9d3..6ab97cb 100644 --- a/doc.go +++ b/doc.go @@ -6,6 +6,9 @@ // // Basic usage // +// Set the terminal in raw mode, use NewInput to create the input key reader +// and read from the terminal: +// // func main() { // // set the terminal in raw mode, e.g. with github.com/pkg/term // t, err := term.Open("/dev/tty", term.RawMode) -- 2.45.2