Gofmt to update doc comments to the new formatting.

For golang/go#51082.

Change-Id: Ib37025f3feda6c1ac63a48247a644dd5afac2be8
Reviewed-on: https://go-review.googlesource.com/c/term/+/399619
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
Russ Cox 2022-04-11 13:13:07 -04:00 коммит произвёл Gopher Robot
Родитель 03fcf44c22
Коммит e5f449aeb1
1 изменённых файлов: 5 добавлений и 5 удалений

10
term.go
Просмотреть файл

@ -7,11 +7,11 @@
// //
// Putting a terminal into raw mode is the most common requirement: // Putting a terminal into raw mode is the most common requirement:
// //
// oldState, err := term.MakeRaw(int(os.Stdin.Fd())) // oldState, err := term.MakeRaw(int(os.Stdin.Fd()))
// if err != nil { // if err != nil {
// panic(err) // panic(err)
// } // }
// defer term.Restore(int(os.Stdin.Fd()), oldState) // defer term.Restore(int(os.Stdin.Fd()), oldState)
// //
// Note that on non-Unix systems os.Stdin.Fd() may not be 0. // Note that on non-Unix systems os.Stdin.Fd() may not be 0.
package term package term