Update doc to use "term" instead of "terminal"
Very small patch, but the example at the top still used the old
"terminal" package name, resulting in "golang.org/x/crypto/ssh/terminal"
being goimport'd instead of golang.org/x/term
Change-Id: If02a2d7ef6fe63fa86f98ca16b523d06ad897474
GitHub-Last-Rev: 594c1a04a1f006800243fd09588a5c9df36bac19
GitHub-Pull-Request: golang/term#2
Reviewed-on: https://go-review.googlesource.com/c/term/+/276912
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Daniel Martí <mvdan@mvdan.cc>
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Go Bot <gobot@golang.org>
diff --git a/term.go b/term.go
index 69931cc..2a4ccf8 100644
--- a/term.go
+++ b/term.go
@@ -7,11 +7,11 @@
//
// Putting a terminal into raw mode is the most common requirement:
//
-// oldState, err := terminal.MakeRaw(0)
+// oldState, err := term.MakeRaw(0)
// if err != nil {
// panic(err)
// }
-// defer terminal.Restore(0, oldState)
+// defer term.Restore(0, oldState)
package term
// State contains the state of a terminal.